gpt4 book ai didi

ios - 被拒绝的应用程序,因为应用程序在尝试下载其中一项应用程序内购买时崩溃

转载 作者:可可西里 更新时间:2023-11-01 03:21:02 26 4
gpt4 key购买 nike

我正尝试发布带有应用内购买功能的新应用版本,但 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 中僵尸的低内存警告,但我似乎无法发现我的代码有任何问题。

请问我应该做什么以及我应该在哪里更仔细地看一下?

最佳答案

您是否尝试过使用新创建的沙盒帐户进行测试?

关于ios - 被拒绝的应用程序,因为应用程序在尝试下载其中一项应用程序内购买时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24632180/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com