2
我有我的應用程序生活這是非消耗品類型。崩潰在ios 6及以後 - [MKStoreManager provideContent:forReceipt:]
應用程序在iOS 6及更高版本中崩潰。它正在用戶的設備上崩潰,而不是在測試設備上。
崩潰日誌這樣說:
Exception Type: SIGTRAP Exception Codes: #0 at 0x3350316c Crashed Thread: 0 Thread 0 Crashed: 0 CoreFoundation 0x3350316c _CFHash + 8 1 CoreFoundation 0x00002b50 CFBasicHashFindBucket + 1892 2 CoreFoundation 0x33503a8b _CFDictionaryGetValue + 83 3 CoreFoundation 0x0004a7a7 -[CFXPreferencesPropertyListSource setValue:forKey:] + 39 4 CoreFoundation 0x0004a723 _CFXPreferencesSetValue + 135 5 CoreFoundation 0x3354a601 _CFPreferencesSetAppValue + 41 6 Foundation 0x00009907 -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 83 7 myAppName 0x00038287 -[MKStoreManager provideContent:forReceipt:] (MKStoreManager.m:311) 8 myAppName 0x000387b1 -[MKStoreObserver restoreTransaction:] (MKStoreObserver.m:88) 9 myAppName 0x000385e1 -[MKStoreObserver paymentQueue:updatedTransactions:] (MKStoreObserver.m:64) 10 StoreKit 0x0000404d __NotifyObserverAboutChanges + 85 11 CoreFoundation 0x3350874d _CFArrayApplyFunction + 177 12 StoreKit 0x00003fe9 -[SKPaymentQueue _notifyObserversAboutChanges:sendUpdatedDownloads:] + 129 13 StoreKit 0x000048af -[SKPaymentQueue _processUpdates:trimUnmatched:sendUpdatedDownloads:] + 999 14 StoreKit 0x00004f8d -[SKPaymentQueue _setTransactionsWithReply:] + 157 15 StoreKit 0x00003b8b __block_global_0 + 63 16 libdispatch.dylib 0x0000211f _dispatch_call_block_and_release + 11 17 libdispatch.dylib 0x000014b7 _dispatch_client_callout + 23 18 libdispatch.dylib 0x000061bd _dispatch_main_queue_callback_4CF$VARIANT$mp + 225 19 CoreFoundation 0x00095f3b __CFRunLoopRun + 1291 20 CoreFoundation 0x33508ebd _CFRunLoopRunSpecific + 357 21 CoreFoundation 0x33508d49 _CFRunLoopRunInMode + 105 22 GraphicsServices 0x370bb2eb _GSEventRunModal + 75 23 UIKit 0x3541e301 _UIApplicationMain + 1121 24 myAppName 0x0000260f main (main.m:20)
此應用程序支持的iOS 4.3及更高版本。
我嘗試了很多方法,但找不到合適的解決方案。任何人有任何想法如何解決這個問題?我是否應該使用其他代碼進行應用內購買?
你可以提供代碼 – 2013-02-26 10:31:38
我有一個現場應用程序相同的問題。你能否分享你如何解決這個問題?提前致謝,如果你可以花時間... – SAHM 2013-11-04 22:45:55
仍在努力通過這個,我很想聽聽你是如何解決它! – SAHM 2013-11-07 21:44:10