我正试图通过In App Purchases发布我的新应用版本,但Apple拒绝了两次以下问题:
Your app crashed when we:
Attempted to download one of the In-App Purchases.
This occurred when your app was used:
- Offline
- On Wi-Fi
他们向我发送了两个崩溃日志,其中包含以下问题:
第一个崩溃日志:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: EXC_ARM_SP_ALIGN at 0x000000013fd4582e
Highlighted Thread: 1
Thread 0 name: Dispatch queue: com.apple.libdispatch-manager
Thread 0:
0 libsystem_kernel.dylib 0x0000000197071aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000196f75998 _dispatch_mgr_thread + 48
Thread 1 name: com.apple.NSURLConnectionLoader
Thread 1:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 Foundation 0x000000018aab2424 +[NSURLConnection(Loader) _resourceLoadLoop:] + 344
5 Foundation 0x000000018ab40408 __NSThread__main__ + 996
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 2 name: com.apple.CFSocket.private
Thread 2:
0 libsystem_kernel.dylib 0x000000019708a76c __select + 8
1 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
2 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
3 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000189f132a4 CFRunLoopRun + 108
5 CoreMotion 0x000000018a676538 0x18a638000 + 255288
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
和第二个:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000013fefffb0
Highlighted Thread: 1
Thread 0 name: Dispatch queue: com.apple.libdispatch-manager
Thread 0:
0 libsystem_kernel.dylib 0x0000000197071aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000196f75998 _dispatch_mgr_thread + 48
Thread 1 name: com.apple.NSURLConnectionLoader
Thread 1:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 Foundation 0x000000018aab2424 +[NSURLConnection(Loader) _resourceLoadLoop:] + 344
5 Foundation 0x000000018ab40408 __NSThread__main__ + 996
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 2 name: com.apple.CFSocket.private
Thread 2:
0 libsystem_kernel.dylib 0x000000019708a76c __select + 8
1 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
2 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
3 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 WebCore 0x0000000193aabfd8 RunWebThread(void*) + 468
5 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
6 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
7 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 4 name: JavaScriptCore::BlockFree
Thread 4:
0 libsystem_kernel.dylib 0x000000019708a394 __psynch_cvwait + 8
1 JavaScriptCore 0x000000018b1a6858 JSC::BlockAllocator::blockFreeingThreadMain() + 248
2 JavaScriptCore 0x000000018b1a2330 WTF::wtfThreadEntryPoint(void*) + 20
3 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
4 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
5 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 5 name: JavaScriptCore::Marking
Thread 5:
0 libsystem_kernel.dylib 0x000000019708a394 __psynch_cvwait + 8
1 JavaScriptCore 0x000000018b3ce514 JSC::GCThread::waitForNextPhase() + 104
2 JavaScriptCore 0x000000018b3ce5a8 JSC::GCThread::gcThreadMain() + 88
3 JavaScriptCore 0x000000018b1a2330 WTF::wtfThreadEntryPoint(void*) + 20
4 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
5 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 libAVFAudio.dylib 0x0000000188d5d5ec GenericRunLoopThread::Entry(void*) + 156
5 libAVFAudio.dylib 0x0000000188d5201c CAPThread::Entry(CAPThread*) + 100
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x0000000197071ca0 mach_msg_trap + 8
1 CoreFoundation 0x0000000189f7eb70 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x0000000189f7cd00 __CFRunLoopRun + 832
3 CoreFoundation 0x0000000189ebdc1c CFRunLoopRunSpecific + 448
4 CoreFoundation 0x0000000189f132a4 CFRunLoopRun + 108
5 CoreMotion 0x000000018a676538 0x18a638000 + 255288
6 libsystem_pthread.dylib 0x000000019710be18 _pthread_body + 164
7 libsystem_pthread.dylib 0x000000019710bd70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000197109550 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x000000019708ae74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197109548 start_wqthread + 0
我的应用程序在我测试过的三款设备(iPhone 4,iPhone5和iPad)中工作正常,它没有崩溃,我可以毫无问题地购买应用程序。我的应用程序响应网络可达性,所以我在设备处于离线模式,仅限Wi-Fi以及用户购买InApp时可达性发生变化时进行了测试。我已阅读并尝试分析这些崩溃日志,我还检查了分配和泄漏的内存泄漏以及Xcode Instruments中的Zombies的低内存警告但我似乎无法发现我的代码有任何问题。
请你帮我一下,我应该怎么做,我应该在哪里仔细看看?
答案 0 :(得分:0)
您是否尝试使用新创建的沙盒帐户进行测试?