I'm having issues installing apps on my simulator. I create a new project (making absolutely no modifications) and hit build, it builds successfully and then opens up the simulator.. A this point I get an error that says "This app could not be installed at this time".
I'm running macOS Catalina 10.15 Beta. Installed Xcode 11.1 directly from the Appstore and created a new project which wouldn't deploy with that error. I installed Xcode 11.2 Beta and received the same error as well. I've restarted the computer numerous times, and I've also regularly closed Xcode and the simulator normally as well as force closing them with no luck. I'm not sure what else to try. This is on a 2017 MacBook Pro with Touchbar if it makes any difference.
Here are the error details:
This app could not be installed at this time.
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Could not install at this time.
--
The operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error -102.)
Domain: LSApplicationWorkspaceErrorDomain
Code: -102
User Info: {
CFBundleIdentifier = "com.blackhive.SwiftUI-Demo-4";
Error = RegistrationFailed;
"_LSFunction" = "-[_LSInstaller _doinstallApplication:atURL:withOptions:installType:notificationJournaller:reply:]";
"_LSLine" = 627;
}
New error details:
Process: com.apple.migrationpluginwrapper [2349]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/DataMigration.framework/XPCServices/com.apple.migrationpluginwrapper.xpc/com.apple.migrationpluginwrapper
Identifier: com.apple.migrationpluginwrapper
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [2249]
Responsible: SimulatorTrampoline [2215]
User ID: 501
Date/Time: 2019-10-30 15:40:44.834 -0700
OS Version: Mac OS X 10.15.1 (19B77a)
Report Version: 12
Bridge OS Version: 3.0 (14Y904)
Anonymous UUID: 7F594A3B-E0E3-8F8E-9876-9A1130956853
Time Awake Since Boot: 3100 seconds
System Integrity Protection: enabled
Crashed Thread: 1 Dispatch queue: com.apple.migrationpluginwrapper.plugin.MobileSafari.migrator
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:isDirectory:]: nil string parameter'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 681.14 - Device: iPhone 11 Pro Max (1A97AF8B-70F3-401C-85AF-DB1D7D7A9EC8) - Runtime: iOS 13.1 (17A844) - DeviceType: iPhone 11 Pro Max
Application Specific Backtrace 1:
0 CoreFoundation 0x00000001015d21ee __exceptionPreprocess + 350
1 libobjc.A.dylib 0x000000010143fb20 objc_exception_throw + 48
2 Foundation 0x0000000100f266ec -[NSURL(NSURL) initFileURLWithPath:isDirectory:relativeToURL:] + 0
3 Foundation 0x0000000100f26c66 +[NSURL(NSURL) fileURLWithPath:isDirectory:] + 54
4 SafariServices 0x0000000104c806b6 __58+[NSUserDefaults(SafariServicesExtras) _sf_safariDefaults]_block_invoke + 234
5 libdispatch.dylib 0x0000000102206781 _dispatch_client_callout + 8
6 libdispatch.dylib 0x00000001022079ad _dispatch_once_callout + 20
7 SafariServices 0x0000000104c805c9 +[NSUserDefaults(SafariServicesExtras) _sf_safariDefaults] + 45
8 MobileSafari 0x0000000103cc7776 MobileSafari + 30582
9 MobileSafari 0x0000000103cc1261 MobileSafari + 4705
10 com.apple.migrationpluginwrapper 0x0000000100d64018 __47-[DMMigrationPluginWrapperProxy handleMessage:]_block_invoke_2 + 552
11 libdispatch.dylib 0x0000000102205810 _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x0000000102206781 _dispatch_client_callout + 8
13 libdispatch.dylib 0x000000010220c4ee _dispatch_lane_serial_drain + 707
14 libdispatch.dylib 0x000000010220cf24 _dispatch_lane_invoke + 388
15 libdispatch.dylib 0x0000000102216ffc _dispatch_workloop_worker_thread + 626
16 libsystem_pthread.dylib 0x000000010267c71b _pthread_wqthread + 290
17 libsystem_pthread.dylib 0x000000010267c57b start_wqthread + 15
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000010261c166 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x000000010261c6cc mach_msg + 60
2 com.apple.CoreFoundation 0x0000000101534af5 __CFRunLoopServiceMachPort + 197
3 com.apple.CoreFoundation 0x000000010152f817 __CFRunLoopRun + 1671
4 com.apple.CoreFoundation 0x000000010152ee66 CFRunLoopRunSpecific + 438
5 com.apple.Foundation 0x0000000100ee994f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
6 com.apple.Foundation 0x0000000100ee9b67 -[NSRunLoop(NSRunLoop) run] + 76
7 libxpc.dylib 0x00000001025b24e6 _xpc_objc_main + 297
8 libxpc.dylib 0x00000001025b4b87 xpc_main + 132
9 com.apple.migrationpluginwrapper 0x0000000100d647dd main + 61
10 libdyld.dylib 0x0000000102287d29 start + 1
Thread 1 Crashed:: Dispatch queue: com.apple.migrationpluginwrapper.plugin.MobileSafari.migrator
0 libsystem_kernel.dylib 0x000000010262249a __pthread_kill + 10
1 libsystem_pthread.dylib 0x000000010267f6cb pthread_kill + 384
2 libsystem_c.dylib 0x00000001023aea3c abort + 120
3 libc++abi.dylib 0x00000001020c47f8 abort_message + 231
4 libc++abi.dylib 0x00000001020c49c7 demangling_terminate_handler() + 262
5 libobjc.A.dylib 0x000000010143fd7c _objc_terminate() + 96
6 libc++abi.dylib 0x00000001020d1e97 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00000001020d1e39 std::terminate() + 41
8 libdispatch.dylib 0x0000000102206795 _dispatch_client_callout + 28
9 libdispatch.dylib 0x00000001022079ad _dispatch_once_callout + 20
10 com.apple.SafariServices 0x0000000104c805c9 +[NSUserDefaults(SafariServicesExtras) _sf_safariDefaults] + 45
11 com.apple.MobileSafari.migrator 0x0000000103cc7776 0x103cc0000 + 30582
12 com.apple.MobileSafari.migrator 0x0000000103cc1261 0x103cc0000 + 4705
13 com.apple.migrationpluginwrapper 0x0000000100d64018 __47-[DMMigrationPluginWrapperProxy handleMessage:]_block_invoke_2 + 552
14 libdispatch.dylib 0x0000000102205810 _dispatch_call_block_and_release + 12
15 libdispatch.dylib 0x0000000102206781 _dispatch_client_callout + 8
16 libdispatch.dylib 0x000000010220c4ee _dispatch_lane_serial_drain + 707
17 libdispatch.dylib 0x000000010220cf24 _dispatch_lane_invoke + 388
18 libdispatch.dylib 0x0000000102216ffc _dispatch_workloop_worker_thread + 626
19 libsystem_pthread.dylib 0x000000010267c71b _pthread_wqthread + 290
20 libsystem_pthread.dylib 0x000000010267c57b start_wqthread + 15
Thread 2:
0 libsystem_pthread.dylib 0x000000010267c56c start_wqthread + 0
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000700009e9d000 rcx: 0x0000700009e9bfd8 rdx: 0x0000000000000000
rdi: 0x0000000000001703 rsi: 0x0000000000000006 rbp: 0x0000700009e9c000 rsp: 0x0000700009e9bfd8
r8: 0x0000700009e9bea0 r9: 0x0000700009e9c070 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000001703 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x000000010262249a rfl: 0x0000000000000206 cr2: 0x000000010267f54b
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Your issue is with your OSx, you have 10.15(beta) and it is noted in release notes that XCode and OSX must be "synced". I had the same issue but then I solved it by re-installing MacOS 10.15. I originally had the 10.15 Beta version installed. So make sure you run MacOS 10.15 (not Beta).
Related
I am unable to edit storyboard files in my xcode project.
I have tried cleaning my Derived Data and cleaning my project but it has had no effect.
In the IBAgent crash log I found this.
I get further errors in the designer "already shutdown" errors. I believe because of the IBAgent crash
Here is the crash log:
Process: IBAgent-iOS [81085]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBAgent-iOS
Identifier: IBAgent-iOS
Version: 12.0.1 (17125)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [81011]
Responsible: SimulatorTrampoline [1320]
User ID: 501
Date/Time: 2020-10-07 12:38:24.736 -0400
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12
Anonymous UUID: B35CBFA6-5A9D-0F38-AAF9-43DECA2C829D
Time Awake Since Boot: 440000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to create work interval'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.17 - Device: iPhone Xʀ (4069A6FF-6A3D-4066-A9E5-2871B5CF6183) - Runtime: iOS 14.0 (18A372) - DeviceType: iPhone Xʀ
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2043a126 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177f78 objc_exception_throw + 48
2 UIKitCore 0x00007fff24a5fcb7 _UIQOSProcessingEnd + 0
3 UIKitCore 0x00007fff24a5faf9 _UIQOSProcessingBegin + 309
4 UIKitCore 0x00007fff2404fd51 -[_UISceneDisplayLink _displayLinkTick:] + 98
5 QuartzCore 0x00007fff278e732d _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 755
6 QuartzCore 0x00007fff279cb99c _ZL22display_timer_callbackP12__CFMachPortPvlS1_ + 639
7 CoreFoundation 0x00007fff2037670c __CFMachPortPerform + 157
8 CoreFoundation 0x00007fff203a913d __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
9 CoreFoundation 0x00007fff203a84de __CFRunLoopDoSource1 + 614
10 CoreFoundation 0x00007fff203a29ba __CFRunLoopRun + 2353
11 CoreFoundation 0x00007fff203a1b9e CFRunLoopRunSpecific + 567
12 Foundation 0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
13 IBFoundation 0x000000010c137bf0 -[IBAbstractPlatformTool startServingReceiveChannel:] + 399
14 IBFoundation 0x000000010c137e56 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 111
15 IBFoundation 0x000000010c138b40 +[IBAbstractPlatformTool main] + 1237
16 IBAgent-iOS 0x000000010bba295f main + 34
17 libdyld.dylib 0x00007fff20257415 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff5dca633a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5dcdbe60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff200fabd4 abort + 120
3 libc++abi.dylib 0x00007fff20250818 abort_message + 231
4 libc++abi.dylib 0x00007fff20241e7d demangling_terminate_handler() + 266
5 libobjc.A.dylib 0x00007fff201781d1 _objc_terminate() + 96
6 libc++abi.dylib 0x00007fff2024fc47 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff202525b6 __cxa_rethrow + 99
8 libobjc.A.dylib 0x00007fff2017810c objc_exception_rethrow + 37
9 com.apple.CoreFoundation 0x00007fff203a1cc4 CFRunLoopRunSpecific + 861
10 com.apple.Foundation 0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
11 com.apple.dt.IBFoundation 0x000000010c137bf0 -[IBAbstractPlatformTool startServingReceiveChannel:] + 399
12 com.apple.dt.IBFoundation 0x000000010c137e56 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 111
13 com.apple.dt.IBFoundation 0x000000010c138b40 +[IBAbstractPlatformTool main] + 1237
14 IBAgent-iOS 0x000000010bba295f main + 34
15 libdyld.dylib 0x00007fff20257415 start + 1
This happened when I upgraded to Xcode 13.0.
I couldn't find much help on the subject, but from trial and error, the solution for my situation seemed to be:
open ~/Library/Developer/Xcode/iOS\ DeviceSupport
rm -rf <VERSION>
I did this for every version expect the latest version (in this case 15.0.2 (19A404))
I am a relatively new developer and would like some assistance. My app does not crash when I have it hooked up via Xcode. However, when I try to run it again the next day (launching from my phone), it crashes when trying to open it. I am currently debugging the situation and am unsure how to proceed.
I'm having troubles with understanding how a device log crashes work. I was able to get to my device's crashes in Xcode via Window>Device and Simulators>View Device Logs>All Logs. I am able to understand that having an Exception type of "EXC_BREAKPOINT (SIGTRAP)" means that I force unwrap a nil value. I am unsure how through looking at the log (or any other method) that I can locate in my code where this is happening. How can I locate in all my files where this is causing a crash?
Date/Time: 2018-04-05 14:33:48.7121 -0500
Launch Time: 2018-04-05 14:33:47.8058 -0500
OS Version: iPhone OS 11.3 (15E216)
Baseband Version: 1.04.16
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000104177ff8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 1
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000180d07e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000180d07c80 mach_msg + 72
2 CoreFoundation 0x000000018124ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181248908 __CFRunLoopRun + 1568
4 CoreFoundation 0x0000000181168da8 CFRunLoopRunSpecific + 552
5 GraphicsServices 0x000000018314b020 GSEventRunModal + 100
6 UIKit 0x000000018b14978c UIApplicationMain + 236
7 &me 0x0000000102cd00e4 0x102bac000 + 1196260
8 libdyld.dylib 0x0000000180bf9fc0 start + 4
Thread 1 name: Dispatch queue: NSOperationQueue 0x1d4224f80 (QOS: UNSPECIFIED)
Thread 1 Crashed:
0 libswiftCore.dylib 0x0000000104177ff8 0x103fd0000 + 1736696
1 libswiftCore.dylib 0x0000000104177ff8 0x103fd0000 + 1736696
2 libswiftCore.dylib 0x00000001040182b8 0x103fd0000 + 295608
3 &me 0x0000000102c9576c 0x102bac000 + 956268
4 &me 0x0000000102c95cbc 0x102bac000 + 957628
5 CFNetwork 0x0000000181831c1c __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
6 CFNetwork 0x000000018184a93c __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 152
7 Foundation 0x0000000181ccae88 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
8 Foundation 0x0000000181c0c8d0 -[NSBlockOperation main] + 72
9 Foundation 0x0000000181c0bcac -[__NSOperationInternal _start:] + 848
10 libdispatch.dylib 0x0000000180b94ae4 _dispatch_client_callout + 16
11 libdispatch.dylib 0x0000000180bd0b0c _dispatch_block_invoke_direct$VARIANT$armv81 + 216
12 libdispatch.dylib 0x0000000180b94ae4 _dispatch_client_callout + 16
13 libdispatch.dylib 0x0000000180bd0b0c _dispatch_block_invoke_direct$VARIANT$armv81 + 216
14 libdispatch.dylib 0x0000000180bd0a00 dispatch_block_perform$VARIANT$armv81 + 104
15 Foundation 0x0000000181ccc750 __NSOQSchedule_f + 376
16 libdispatch.dylib 0x0000000180b94ae4 _dispatch_client_callout + 16
17 libdispatch.dylib 0x0000000180bd17a8 _dispatch_continuation_pop$VARIANT$armv81 + 416
18 libdispatch.dylib 0x0000000180bd0180 _dispatch_async_redirect_invoke$VARIANT$armv81 + 596
19 libdispatch.dylib 0x0000000180bd63a4 _dispatch_root_queue_drain + 592
20 libdispatch.dylib 0x0000000180bd60f0 _dispatch_worker_thread3 + 112
21 libsystem_pthread.dylib 0x0000000180ec7fac _pthread_wqthread + 1176
22 libsystem_pthread.dylib 0x0000000180ec7b08 start_wqthread + 4
To understand the crash log you can go through the following apple documentation. This is the best explanation I found so far.
https://developer.apple.com/library/content/technotes/tn2151/_index.html
I am using Unity 4.6.6f2 and made il2cpp build to support 64 bit requirement from apple. I am having strange random crash and in device crash logs, I see these crash reports. It is happening on multiple devices and all of them have this in common:
Here's the logs:
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-06-18 12:06:11.292 +0400
Launch Time: 2015-06-18 11:50:59.940 +0400
OS Version: iOS 8.1 (12B410)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000000000029c
Triggered by Thread: 36
Thread 36 name: Dispatch queue: com.apple.IOAccelerator.BlockFences
Thread 36 Crashed:
0 libobjc.A.dylib 0x0000000194b739f4 objc_disposeClassPair + 192
1 libobjc.A.dylib 0x0000000194b739bc objc_disposeClassPair + 136
2 libsystem_blocks.dylib 0x000000019520190c _Block_release + 252
3 IOAccelerator 0x000000018d68aca4 ioAccelCommandQueueBlockFenceCallback + 60
4 IOKit 0x00000001851c58cc IODispatchCalloutFromCFMessage + 372
5 IOKit 0x00000001851c596c _IODispatchCalloutWithDispatch + 36
6 libdispatch.dylib 0x00000001951b2a2c dispatch_mig_server + 432
7 libdispatch.dylib 0x00000001951ad368 _dispatch_client_callout + 12
8 libdispatch.dylib 0x00000001951c20c4 _dispatch_source_latch_and_call + 788
9 libdispatch.dylib 0x00000001951af4d0 _dispatch_source_invoke + 284
10 libdispatch.dylib 0x00000001951b72a0 _dispatch_queue_drain + 672
11 libdispatch.dylib 0x00000001951b0470 _dispatch_queue_invoke + 128
12 libdispatch.dylib 0x00000001951b9220 _dispatch_root_queue_drain + 660
13 libdispatch.dylib 0x00000001951ba758 _dispatch_worker_thread3 + 104
14 libsystem_pthread.dylib 0x00000001953892e0 _pthread_wqthread + 812
15 libsystem_pthread.dylib 0x0000000195388fa4 start_wqthread + 0
On closing my storyboard with Xcode (by quitting Xcode itself or switching to another file), it makes me awaiting for a while until I do Force Quit.
On opening my storyboard with AppCode, I see the alert about iOSRenderServer just crashed. Well it's the only project with this trouble, and I believe there is some mistakes inside storyboard, but I can't figure out what exactly is wrong.
Somebody have seen this before?
reason: 'MainScreenScale is not valid: 0.000000'
Process: iOSRenderServer [25123]
Path: /Applications/AppCode.app/Contents/plugins/appcode-designer/iOSRenderServer.app/iOSRenderServer
Identifier: iOSRenderServer
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: appcode [25007]
Responsible: appcode [25007]
User ID: 503
Date/Time: 2015-04-12 10:40:12.951 +0300
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Anonymous UUID: 82A2E61F-7F5F-9CDC-F8CC-3AE376F99B61
Sleep/Wake UUID: 38298837-20D2-4686-8D6D-EEC965606B5D
Time Awake Since Boot: 54000 seconds
Time Since Wake: 2400 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'MainScreenScale is not valid: 0.000000'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x000000010d683c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010d31cbb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010d683aca +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010cf31a57 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 169
4 BaseBoard 0x000000010f1c89c1 ___BSMainScreenGetInfo_block_invoke + 351
5 libdispatch.dylib 0x000000010dc91964 _dispatch_client_callout + 8
6 libdispatch.dylib 0x000000010dc7f902 dispatch_once_f + 129
7 BaseBoard 0x000000010f1c8808 BSMainScreenScale + 43
8 FrontBoardServices 0x000000010f156b0e -[FBSDisplay initWithCADisplay:isMainDisplay:seed:tags:scale:] + 234
9 UIKit 0x000000010bba7d02 -[UIApplication __completeAndRunAsPlugin] + 355
10 iOSRenderServer 0x000000010b8b0a61 -[AppDelegate doStart] + 129
11 iOSRenderServer 0x000000010b8b3b84 my_registerAsSystemApp + 132
12 UIKit 0x000000010bba7ad3 -[UIApplication _run] + 302
13 UIKit 0x000000010bbaa900 UIApplicationMain + 1282
14 iOSRenderServer 0x000000010b8b3fa2 main + 962
15 libdyld.dylib 0x000000010dcc1145 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000010dfc9286 __pthread_kill + 10
1 libsystem_sim_c.dylib 0x000000010dd6919a abort + 129
2 libc++abi.dylib 0x000000010db3b481 abort_message + 257
3 libc++abi.dylib 0x000000010db633d5 default_terminate_handler() + 267
4 libobjc.A.dylib 0x000000010d31ce19 _objc_terminate() + 103
5 libc++abi.dylib 0x000000010db60b01 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x000000010db60b73 std::terminate() + 51
7 libobjc.A.dylib 0x000000010d31cd93 objc_terminate + 9
8 libdispatch.dylib 0x000000010dc91978 _dispatch_client_callout + 28
9 libdispatch.dylib 0x000000010dc7f902 dispatch_once_f + 129
10 com.apple.BaseBoard 0x000000010f1c8808 BSMainScreenScale + 43
11 com.apple.FrontBoardServices 0x000000010f156b0e -[FBSDisplay initWithCADisplay:isMainDisplay:seed:tags:scale:] + 234
12 com.apple.UIKit 0x000000010bba7d02 -[UIApplication __completeAndRunAsPlugin] + 355
13 com.jetbrains.iOSRenderServer 0x000000010b8b0a61 -[AppDelegate doStart] + 129
14 com.jetbrains.iOSRenderServer 0x000000010b8b3b84 my_registerAsSystemApp + 132
15 com.apple.UIKit 0x000000010bba7ad3 -[UIApplication _run] + 302
16 com.apple.UIKit 0x000000010bbaa900 UIApplicationMain + 1282
17 com.jetbrains.iOSRenderServer 0x000000010b8b3fa2 main + 962
18 libdyld.dylib 0x000000010dcc1145 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x000000010dfca232 kevent64 + 10
1 libdispatch.dylib 0x000000010dc81d94 _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x000000010dfc994a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x000000010dff840d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x000000010dfc994a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x000000010dff840d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x000000010dfc994a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x000000010dff840d start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff54355e78 rdx: 0x0000000000000000
rdi: 0x000000000000070b rsi: 0x0000000000000006 rbp: 0x00007fff54355ea0 rsp: 0x00007fff54355e78
r8: 0x0000000000000000 r9: 0x000000010dd8f600 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff54356000 r13: 0x0000000000000000 r14: 0x000000010e001300 r15: 0x00007fff54355ee0
rip: 0x000000010dfc9286 rfl: 0x0000000000000206 cr2: 0x000000010db643b2
Can you check the following
[NSLayoutContraint constraintWithItem ...] method are nil.
You could have switched off auto layout , but adding a constraint to subview via a code.
3.The view hasn't been created in the nib/UIView, but the constraint has been applied, move the Constraint code from the initWithNib method to viewDidLoad.
The storyboard file is a simple text file in XML format. So, if Xcode won't open it, just use a text editor of your choice. Then search the file for MainScreenScale and see if there is something strange.
If you can remember the last edits you made on your storyboard, try to roll them back.
And take care on not to mess up the XML structure. Make a copy of the file first.
Best solution: If you have your project under Source Control, roll back to the last commit.
Well, I figured it out.
After doing something like git-bisect (remove some VCs and its contents until IB stops crashing), the reason was found.
I have my own view as titleView on two screens. I don't know exactly why, but this had been causing my troubles. Moving my own titleView from IB to code stopped these crashes at all.
And for now, it would be great to understand why exactly this happened.
Maybe there is anything wrong implemented inside my view...
I am development one program with Cordova 2.1.0 for iOS, bur when this app have been reviewed Apple found that your app crashed on iPhone 5 and iPad (3rd Generation) running iOS 6.0.1, which is not in compliance with the App Store Review Guidelines.
The crash is this, but i don't know how find the error in this crash and how solucionated the crash
Incident Identifier: D118AC06-AE7A-45FC-B006-480445F1AEE7
CrashReporter Key: 61fff04272e67e35a7d37d24f9e047e4b111fe0c
Hardware Model: xxx
Process: Coto [4429]
Path: /var/mobile/Applications/CE1C6A84-01B4-4324-B2E7-60F28C05B03A/Coto.app/Coto
Identifier: Coto
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-12-11 16:43:37.661 -0800
OS Version: iOS 6.0.1 (10A523)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
(0x3427c29e 0x3af5e97a 0x3427fe02 0x3427e52c 0x341d5f64 0x3506c 0x8784 0x39fab588 0x39febd6c 0x39fe7ae0 0x3a0291c4 0x8454 0x39fecacc 0x39fec656 0x39fe483e 0x39f8cc34 0x39f8c6c8 0x39f8c116 0x3770859e 0x377081ce 0x3425116e 0x34251112 0x3424ff94 0x341c2eb8 0x341c2d44 0x39fe3478 0x39fe02f4 0x8092 0x806c)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x331a6350 __pthread_kill + 8
1 libsystem_c.dylib 0x3aefd11e pthread_kill + 54
2 libsystem_c.dylib 0x3af3996e abort + 90
3 libc++abi.dylib 0x39106d4a abort_message + 70
4 libc++abi.dylib 0x39103ff4 default_terminate() + 20
5 libobjc.A.dylib 0x3af5ea74 _objc_terminate() + 144
6 libc++abi.dylib 0x39104078 safe_handler_caller(void (*)()) + 76
7 libc++abi.dylib 0x39104110 std::terminate() + 16
8 libc++abi.dylib 0x39105594 __cxa_rethrow + 84
9 libobjc.A.dylib 0x3af5e9cc objc_exception_rethrow + 8
10 CoreFoundation 0x341c2f1c CFRunLoopRunSpecific + 452
11 CoreFoundation 0x341c2d44 CFRunLoopRunInMode + 100
12 UIKit 0x39fe3478 -[UIApplication _run] + 664
13 UIKit 0x39fe02f4 UIApplicationMain + 1116
14 Coto 0x00008092 0x6000 + 8338
15 Coto 0x0000806c 0x6000 + 8300
Thread 1:
0 libsystem_kernel.dylib 0x331a6d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3aed4cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3aed4a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3aed48a0 start_wqthread + 4