2013-02-25 72 views
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及更高版本。

我尝试了很多方法,但找不到合适的解决方案。任何人有任何想法如何解决这个问题?我是否应该使用其他代码进行应用内购买?

+0

你可以提供代码 – 2013-02-26 10:31:38

+0

我有一个现场应用程序相同的问题。你能否分享你如何解决这个问题?提前致谢,如果你可以花时间... – SAHM 2013-11-04 22:45:55

+0

仍在努力通过这个,我很想听听你是如何解决它! – SAHM 2013-11-07 21:44:10

回答

1

我开发了非消耗性产品Storekit,以便每个人都可以免费使用。 如果需要,请提出建议。
快乐编码! :)