{"id":4071,"date":"2014-03-30T07:27:10","date_gmt":"2014-03-30T07:27:10","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/xcode-5-0-1-ios-7-0-3-error-with-instruments-command-line-tool-collection-of-common-programming-errors\/"},"modified":"2014-03-30T07:27:10","modified_gmt":"2014-03-30T07:27:10","slug":"xcode-5-0-1-ios-7-0-3-error-with-instruments-command-line-tool-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/xcode-5-0-1-ios-7-0-3-error-with-instruments-command-line-tool-collection-of-common-programming-errors\/","title":{"rendered":"Xcode 5.0.1 iOS 7.0.3 Error with instruments command line tool-Collection of common programming errors"},"content":{"rendered":"<p>I also encounter this issue on Xcode 5.0.1, instruments doesn&#8217;t work even start from UI but instruments works fine with Xcode 5.0<\/p>\n<p>After some investigation, I found that when instruments is starting, the scriptAgent in iPhoneSimulator SDK crashes.<\/p>\n<pre><code>Process:         ScriptAgent [4297]\nPath:            \/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator7.0.sdk\/Developer\/usr\/bin\/ScriptAgent\nIdentifier:      ScriptAgent\nVersion:         270\nCode Type:       X86 (Native)\nParent Process:  instruments [4208]\nResponsible:     eclipse [1017]\nUser ID:         110125050\n\nDate\/Time:       2013-11-11 10:52:49.044 +0800\nOS Version:      Mac OS X 10.9 (13A603)\nReport Version:  11\nAnonymous UUID:  A496DC68-476F-589B-352C-303FA1CD2355\n\nSleep\/Wake UUID: F65E37D7-0AFF-4867-9538-8736C8F0B908\n\nCrashed Thread:  0  Dispatch queue: com.apple.main-thread\n\nException Type:  EXC_CRASH (SIGABRT)\nException Codes: 0x0000000000000000, 0x0000000000000000\n\nApplication Specific Information:\niPhone Simulator (external launch) , iPhone OS 7.0.3 (unknown\/11B508)\n\n\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\n0   libsystem_kernel.dylib          0x02e94952 __pthread_kill + 10\n1   libsystem_pthread.dylib         0x02e58167 pthread_kill + 101\n2   libsystem_sim_c.dylib           0x02b6ae12 abort + 127\n3   ScreenReaderCore                0x03db5853 SCRCUncaughtExceptionHandler + 111\n4   CoreFoundation                  0x005f7a1d __handleUncaughtException + 749\n5   libobjc.A.dylib                 0x0224ab5c _objc_terminate() + 100\n6   libc++abi.dylib                 0x02a5bf60 std::__terminate(void (*)()) + 14\n7   libc++abi.dylib                 0x02a5b97d __cxa_throw + 116\n8   libobjc.A.dylib                 0x0224a9cd objc_exception_throw + 323\n9   CoreFoundation                  0x005673bb +[NSException raise:format:] + 139\n10  UIAutomation                    0x00cbdf54 +[UIAXElement initializeAccessibility] +    668\n11  UIAutomation                    0x00cc1361 +[UIAXElement uiaxSystemWideElement] + 37\n12  UIAutomation                    0x00cd76d3 -[UIATarget init] + 317\n13  UIAutomation                    0x00cd758a +[UIATarget localTarget] + 65\n14  ScriptAgent                     0x0000ae25 0x1000 + 40485\n15  ScriptAgent                     0x00005e85 0x1000 + 20101\n16  ScriptAgent                     0x00008887 0x1000 + 30855\n17  libdyld.dylib                   0x02d5e70d start + 1\n<\/code><\/pre>\n<p>So I replaced iPhoneSimulator7.0.sdk with the one in Xcode 5.0, then this issue is solved. But I am not sure whether this replacement has any side effect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I also encounter this issue on Xcode 5.0.1, instruments doesn&#8217;t work even start from UI but instruments works fine with Xcode 5.0 After some investigation, I found that when instruments is starting, the scriptAgent in iPhoneSimulator SDK crashes. Process: ScriptAgent [4297] Path: \/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator7.0.sdk\/Developer\/usr\/bin\/ScriptAgent Identifier: ScriptAgent Version: 270 Code Type: X86 (Native) Parent Process: instruments [4208] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4071","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4071"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4071\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}