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...
Related
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).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
My app was rejected because of a crash on iPad, but I am unable to reproduce it. What should I do?
We found that your app crashed on iPad running iOS 7.0.4, which is
not in compliance with the App Store Review Guidelines.
Your app crashed when we launch the app.
This occurred when your app was used:
On Wi-Fi
We have attached detailed crash logs to help troubleshoot this issue. For information on how to symbolicate and read a crash log,
please see Tech Note TN2151 Understanding and Analyzing iPhone OS
Application Crash Reports.
If you have difficulty reproducing this issue, please try testing the workflow as described in Testing Workflow with Xcode's
Archive feature.
For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. Please be sure to prepare any
symbolicated crash logs, screenshots, or steps to reproduce the issues
for when the DTS engineer follows up.
2.10
Also, we found that your app crashed on iPad, which doesn't meet the requirements for running on iPad, as required by the App Store
Review Guidelines.
This is the Crash Report.
Incident Identifier: BE08340B-BD3C-4834-A4B8-DEE44FDB8CF9
CrashReporter Key: c9a77ef4dcc63290176c21a5175ca5807a28eca5
Hardware Model: xxx
Process: Lottery [670]
Path: /var/mobile/Applications/470EA3B5-E92D-48AB-8DAD-66B4FB6F3950/Lottery.app/Lottery
Identifier: CaiwangClient
Version: 1.0.0 (1.0.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-01-26 09:14:30.717 -0800
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
(0x2d9bee83 0x381656c7 0x2d9beb89 0x2e37ae3f 0x2e2e0139 0xd5b3d 0xd52c9 0xca485 0x2e3a2e4b 0x2d989f1f 0x2d9893e7 0x2d987bd7 0x2d8f2471 0x2d8f2253 0x326002eb 0x301a7845 0xdf37f 0x3865eab7)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x387151fc __pthread_kill + 8
1 libsystem_pthread.dylib 0x3877ca4f pthread_kill + 55
2 libsystem_c.dylib 0x386c6029 abort + 73
3 libc++abi.dylib 0x37b1498b abort_message + 71
4 libc++abi.dylib 0x37b2d6e3 default_terminate_handler() + 251
5 libobjc.A.dylib 0x38165937 _objc_terminate() + 191
6 libc++abi.dylib 0x37b2b1b1 std::__terminate(void (*)()) + 77
7 libc++abi.dylib 0x37b2ad13 __cxa_rethrow + 99
8 libobjc.A.dylib 0x3816580b objc_exception_rethrow + 39
9 CoreFoundation 0x2d8f24e3 CFRunLoopRunSpecific + 639
10 CoreFoundation 0x2d8f224f CFRunLoopRunInMode + 103
11 GraphicsServices 0x326002e7 GSEventRunModal + 135
12 UIKit 0x301a7841 UIApplicationMain + 1133
13 Lottery 0x000df37b 0x98000 + 291707
14 libdyld.dylib 0x3865eab5 start + 1
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x38702838 kevent64 + 24
1 libdispatch.dylib 0x386510d1 _dispatch_mgr_invoke + 229
2 libdispatch.dylib 0x3864b61f _dispatch_mgr_thread + 35
Thread 2:
0 libsystem_kernel.dylib 0x38715c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38779e07 _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x38779cc0 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x38702a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3870287d mach_msg + 37
2 CoreFoundation 0x2d989555 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2d987c75 __CFRunLoopRun + 789
4 CoreFoundation 0x2d8f246d CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2d8f224f CFRunLoopRunInMode + 103
6 Lottery 0x000d312f 0x98000 + 241967
7 Foundation 0x2e3a2c33 __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x3877bc5b _pthread_body + 139
9 libsystem_pthread.dylib 0x3877bbcb _pthread_start + 99
10 libsystem_pthread.dylib 0x38779ccc thread_start + 4
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x38702a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3870287d mach_msg + 37
2 CoreFoundation 0x2d989555 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2d987c75 __CFRunLoopRun + 789
4 CoreFoundation 0x2d8f246d CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2d8f224f CFRunLoopRunInMode + 103
6 Foundation 0x2e32d4bd +[NSURLConnection(Loader) _resourceLoadLoop:] + 317
7 Foundation 0x2e3a2c33 __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x3877bc5b _pthread_body + 139
9 libsystem_pthread.dylib 0x3877bbcb _pthread_start + 99
10 libsystem_pthread.dylib 0x38779ccc thread_start + 4
Thread 5 name: Dispatch queue: com.apple.root.default-priority
Thread 5:
0 libsystem_kernel.dylib 0x38702ad4 semaphore_wait_trap + 8
1 libdispatch.dylib 0x3864fde1 _dispatch_semaphore_wait_slow + 173
2 libxpc.dylib 0x3878a0d7 xpc_connection_send_message_with_reply_sync + 151
3 SystemConfiguration 0x3011d35b _reach_server_target_remove + 91
4 SystemConfiguration 0x3011d2cb __SCNetworkReachabilityServer_targetRemove + 39
5 SystemConfiguration 0x30104311 __SCNetworkReachabilityDeallocate + 93
6 CoreFoundation 0x2d8eee2d CFRelease + 465
7 libdispatch.dylib 0x3864f7d5 _dispatch_root_queue_drain + 221
8 libdispatch.dylib 0x3864f9c1 _dispatch_worker_thread2 + 53
9 libsystem_pthread.dylib 0x38779dfd _pthread_wqthread + 297
10 libsystem_pthread.dylib 0x38779cc0 start_wqthread + 4
Thread 6 name: com.apple.CFSocket.private
Thread 6:
0 libsystem_kernel.dylib 0x38715440 __select + 20
1 CoreFoundation 0x2d98d457 __CFSocketManager + 483
2 libsystem_pthread.dylib 0x3877bc5b _pthread_body + 139
3 libsystem_pthread.dylib 0x3877bbcb _pthread_start + 99
4 libsystem_pthread.dylib 0x38779ccc thread_start + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x3a2e618c r6: 0x00000000 r7: 0x27d6b594
r8: 0x14d6f380 r9: 0x00000001 r10: 0x00000000 r11: 0x001058cc
ip: 0x00000148 sp: 0x27d6b588 lr: 0x3877ca53 pc: 0x387151fc
cpsr: 0x00000010
When I submitted my app, Apple complained for a crash (which doesn't occur on my devices). (the app uses both Cocos2d and Kamcord). Here is the log they sent me. Does anyone have any idea on what's going on ?
Incident Identifier: DF08231F-6870-4BA1-B676-FABB198B2C1D
CrashReporter Key: aca1b4fd3ac58a223f67f43ce5c768e6e94616f0
Hardware Model: xxx
Process: Intro Maker [21098]
Path: /var/mobile/Applications/58D16C18-20F2-4A98-ADA0-DDF7518F7704/Intro Maker.app/Intro Maker
Identifier: Intro Maker
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-01-17 17:47:44.172 -0800
OS Version: iOS 6.0.1 (10A523)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x60000008
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x385b15b0 objc_msgSend + 16
1 Intro Maker 0x000842b6 0x34000 + 328374
2 Intro Maker 0x0006ec82 0x34000 + 240770
3 Intro Maker 0x0006ef06 0x34000 + 241414
4 UIKit 0x375f751e -[UIWindow _sendTouchesForEvent:] + 314
5 UIKit 0x375e47fc -[UIApplication sendEvent:] + 376
6 UIKit 0x375e4116 _UIApplicationHandleEvent + 6150
7 GraphicsServices 0x34d605a0 _PurpleEventCallback + 588
8 GraphicsServices 0x34d601ce PurpleEventCallback + 30
9 CoreFoundation 0x318a9170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
10 CoreFoundation 0x318a9112 __CFRunLoopDoSource1 + 134
11 CoreFoundation 0x318a7f94 __CFRunLoopRun + 1380
12 CoreFoundation 0x3181aeb8 CFRunLoopRunSpecific + 352
13 CoreFoundation 0x3181ad44 CFRunLoopRunInMode + 100
14 GraphicsServices 0x34d5f2e6 GSEventRunModal + 70
15 UIKit 0x376382f4 UIApplicationMain + 1116
16 Intro Maker 0x0008204e 0x34000 + 319566
17 Intro Maker 0x0003685c 0x34000 + 10332
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x307ee648 kevent64 + 24
1 libdispatch.dylib 0x3990a974 _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3990a654 _dispatch_mgr_thread$VARIANT$mp + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x307edeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x307ee048 mach_msg + 36
2 CoreFoundation 0x318a9040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x318a7d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3181aeb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3181ad44 CFRunLoopRunInMode + 100
6 WebCore 0x32777a40 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3853730e _pthread_start + 306
8 libsystem_c.dylib 0x385371d4 thread_start + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x210addc0 r1: 0x0024f355 r2: 0x210afa60 r3: 0x00000000
r4: 0x60000000 r5: 0x0024f355 r6: 0x210addc0 r7: 0x2fdcb688
r8: 0x21072f40 r9: 0x00093cd5 r10: 0x42200000 r11: 0x0024cdc5
ip: 0x385c21f1 sp: 0x2fdcb5d8 lr: 0x000842bb pc: 0x385b15b0
cpsr: 0x00000030
When you created the .ipa file that you uploaded to Apple, you had to first create an app archive (a .xcarchive folder). If that folder (and its contents) still exist on your Mac, and you drag the crash report onto the Xcode Organizer, then Xcode should symbolicate the crash report. That means that each of frames 1, 2, 3, 16, and 17 will show you the function, filename, and line number in your source code. This may help you track down your problem.
The most common reason for a SIGSEGV in objc_msgSend is sending a message to a deallocated object through a dangling pointer.
Running the static analyzer on your app may help you track down improper memory management, if you are following Apple's memory management naming conventions. From the menu bar, choose Product > Analyze.
Running your app with zombies enabled may also help you track down your problem. You can do this on the simulator using Instruments; it has a Zombie preset. To do it on a device, you must edit your scheme, go to the Diagnostics tab, and turn on the “Enable Zombie Objects” checkbox.
My app was rejected but I don't know what's the exact problem.
Rejected reason is:
We found that your app crashed on iPad 3rd Gen. running iOS 5.1.1,
which is not in compliance with the App Store Review Guidelines.
Your app crashed on both Wi-Fi and cellular networks when we select an
item from the table view.
However I submitted my application for iPhones only. On top of that I couldn't figure out what's wrong in the crash files and could not debug as I tested it on my iPhone and I didn't have any bugs or crashes.
Any help or tip will be extremely appreciated as I feel totally lost in this one. Million thanks in advance.
You can find the crash reports below..
Incident Identifier: 5E4A2B4C-EC76-441B-82A2-3782F53B533B
CrashReporter Key: 5ee8aa21dffe8c0b7f3386a5290b271457c404c8
Hardware Model: iPad3,3
Process: *****
Path: *****
Identifier: *****
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-06-04 18:44:59.930 -0700
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'Application tried to present a nil modal view controller on target <ViewController:
0x176f80>.'
*** First throw call stack:
(0x3309e88f 0x35043259 0x35687441 00x356e26a7 0x84d9f 0x3565793d 0x356d1627 0x3777d933
0x33072a33 0x33072699 0x3307126f 0x32ff44a5 0x32ff436d 0x33141439 0x355d3cd5 0x83f03
0x83ec4)
Last Exception Backtrace:
(0x3309e88f 0x35043259 0x35687441 0x356e26a7 0x84d9f 0x3565793d 0x356d1627 0x3777d933
0x33072a33 0x33072699 0x3307126f 0x32ff44a5 0x32ff436d 0x33141439 0x355d3cd5 0x83f03
0x83ec4)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3557532c __pthread_kill + 8
1 libsystem_c.dylib 0x3249b208 pthread_kill + 48
2 libsystem_c.dylib 0x32494298 abort + 88
3 libc++abi.dylib 0x34219f64 abort_message + 40
4 libc++abi.dylib 0x34217346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x35043350 _objc_terminate + 140
6 libc++abi.dylib 0x342173be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x3421744a std::terminate() + 14
8 libc++abi.dylib 0x3421881e __cxa_rethrow + 82
9 libobjc.A.dylib 0x350432a2 objc_exception_rethrow + 6
10 CoreFoundation 0x32ff4506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x32ff4366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x33141432 GSEventRunModal + 130
13 UIKit 0x355d3cce UIApplicationMain + 1074
14 ****** 0x00083efc 0x82000 + 7932
15 ****** 0x00083ebc 0x82000 + 7868
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x355653a8 kevent + 24
1 libdispatch.dylib 0x317c9f04 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x317c9c22 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x35575cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x32456f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x32456cc8 start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x35565004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x355651fa mach_msg + 50
2 CoreFoundation 0x330723ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x33071124 __CFRunLoopRun + 876
4 CoreFoundation 0x32ff449e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x32ff4366 CFRunLoopRunInMode + 98
6 WebCore 0x35d92c9c _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x3245c72e _pthread_start + 314
8 libsystem_c.dylib 0x3245c5e8 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x35575cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x32456f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x32456cc8 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x35575cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x32456f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x32456cc8 start_wqthread + 0
Thread 6:
0 AddressBook 0x338c7cc8 ABAddressBookCreate + 0
1 TextInput 0x345d11be
KB::fill_with_matchable_strings_from_address_book(KB::Hashmap<KB::String, bool>&) + 10
2 TextInput 0x345d7dee
KB::DynamicDictionaryImpl::background_load_address_book(KB::StaticDictionary const&) + 194
3 TextInput 0x345d8728 _ZN2KBL14BackgroundLoadEPv + 272
4 libsystem_c.dylib 0x3245c72e _pthread_start + 314
5 libsystem_c.dylib 0x3245c5e8 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3ea85d98 r6: 0x00000002 r7: 0x2fe80a60
r8: 0x00000000 r9: 0x00000000 r10: 0x3f330d4c r11: 0x3f3459c0
ip: 0x00000148 sp: 0x2fe80a54 lr: 0x3249b20f pc: 0x3557532c
cpsr: 0x00020010
Apps are REQUIRED to run on the iPad too even if they target only the iPhone.
I assume that your iOS application target was set to iPhone and not universal?
If you believe all your settings are correct, you can submit an appeal to Apple:
https://developer.apple.com/appstore/contact/appreviewboard/index.html
Do what Lee Crossley said, but also you should go to the Resolution Center in iTunes Connect and tell the reviewer about this. They can reply and fix your problems. They will be better advice than us!
I recently had an app rejected for crashing on launch on an iPhone 5 in iOS 5.0, and the good folks at Apple attached a crash report. However, I can't replicate this crash on either my device (also an iPhone 4 running iOS 5) or in the simulator for iOS 5. And, as you can see from the copy below, the report is cryptic. The crash is taking place in thread 5, which helpfully includes ??? where information should be.
First question - is this crash report symbolicated wrong? I kept the dSYM and dragged to the Organizer as per the guidelines.
If it is symbolicated right, I'm at a loss. I've checked through the warnings (all semantic, nothing that seems it could be a malloc/over-release problem), checked memory allocations, ran with NSZombie and malloc guards etc., but nothing seems wrong.
Can anyone help? Much appreciated, thanks.
Incident Identifier: 63777680-AF77-44B8-8264-47CF89D32C28
CrashReporter Key: 66ff952824b039efb0379c6c6fe11a2e035c7573
Hardware Model: iPhone3,1
Process: ---- [4453]
Path: /var/mobile/Applications/8F6C5D92-2052-4C56-9897-D6C50C1A7DA1/----/----
Identifier: ----
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-10-18 12:58:50.611 -0700
OS Version: iPhone OS 5.0 (9A334)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00157550
Crashed Thread: 5
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x31dff060 semaphore_wait_trap + 8
1 libdispatch.dylib 0x32554124 _dispatch_semaphore_wait_slow + 184
2 libdispatch.dylib 0x32554154 dispatch_semaphore_wait$VARIANT$up + 28
3 libxpc.dylib 0x3514189a xpc_connection_send_message_with_reply_sync + 206
4 SystemConfiguration 0x356dfbe6 _reach_server_target_status + 938
5 SystemConfiguration 0x356e0d56 __SCNetworkReachabilityServer_targetStatus + 14
6 SystemConfiguration 0x356c9aee __SCNetworkReachabilityGetFlags + 198
7 SystemConfiguration 0x356cabc4 reachPerform + 240
8 CoreFoundation 0x30afeafc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
9 CoreFoundation 0x30afe35e __CFRunLoopDoSources0 + 358
10 CoreFoundation 0x30afd06e __CFRunLoopRun + 646
11 CoreFoundation 0x30a804d6 CFRunLoopRunSpecific + 294
12 CoreFoundation 0x30a8039e CFRunLoopRunInMode + 98
13 GraphicsServices 0x336aefe6 GSEventRunModal + 150
14 UIKit 0x32af273c UIApplicationMain + 1084
15 ----- 0x000022f2 0x1000 + 4850
16 ----- 0x000022bc 0x1000 + 4796
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x31dff3b4 kevent + 24
1 libdispatch.dylib 0x32553e78 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x32553b96 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x31dff010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31dff206 mach_msg + 50
2 CoreFoundation 0x30afe41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30afd154 __CFRunLoopRun + 876
4 CoreFoundation 0x30a804d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30a8039e CFRunLoopRunInMode + 98
6 WebCore 0x37314128 _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x362c7c16 _pthread_start + 314
8 libsystem_c.dylib 0x362c7ad0 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 5 Crashed:
0 ??? 0x00157550 0 + 1406288
1 ??? 0x626b5ef8 0 + 1651203832
Thread 6:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 5 crashed with ARM Thread State:
r0: 0x00157550 r1: 0x0000013a r2: 0x00000001 r3: 0x00000000
r4: 0x00157550 r5: 0x00048e20 r6: 0x05395ef0 r7: 0x33e83857
r8: 0x00000000 r9: 0x0000003b r10: 0x00000001 r11: 0x053960cc
ip: 0x0001ee79 sp: 0x05395e78 lr: 0x00011acf pc: 0x00157550
cpsr: 0x20000010
This looks like a crash of non-threadsafe web work. try running the zombie instrument
Turns out the problem was incorrect specification of supported architectures. For some reason, this managed to slip past the uploader validation step. After adding support for both armv6 and armv7 in "Valid Architectures in the Project and Target build settings, the review process went through fine.