Lanica / Platform-platino

Game Development SDK
lanica.co
31 stars 44 forks source link

iPad #1

Open immiejay opened 10 years ago

immiejay commented 10 years ago

Module works well on iPhone.

When module is initialised in iPad

ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'. Reason: *\ -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1] Stack trace: 0 CoreFoundation 0x2e685f4b + 130 1 libobjc.A.dylib 0x38e626af objc_exception_throw + 38 2 CoreFoundation 0x2e5c417b + 530 3 CoreFoundation 0x2e5c3f43 + 50 4 R R R 0x003d3e65 _ZN3WTI13tryMakeStringIPKcN2TI7UStringES2_EENS_10PassRefPtrINS_10StringImplEEET_T0T1 + 282092 5 StoreKit 0x30d8adcd + 84 6 CoreFoundation 0x2e5b9659 CFArrayApplyFunction + 36 7 StoreKit 0x30d8ad69 + 128 8 StoreKit 0x30d8b64b + 1026 9 StoreKit 0x30d8bd21 + 128 10 StoreKit 0x30d8a90b + 62 11 libdispatch.dylib 0x39345d1b + 10 12 libdispatch.dylib 0x39345d07 + 22 13 libdispatch.dylib 0x3934c78d + 268 14 CoreFoundation 0x2e650819 + 8 15 CoreFoundation 0x2e64f0ed + 1300 16 CoreFoundation 0x2e5b9c27 CFRunLoopRunSpecific + 522 17 CoreFoundation 0x2e5b9a0b CFRunLoopRunInMode + 106 18 GraphicsServices 0x3329a283 GSEventRunModal + 138

ewmailing commented 10 years ago

StoreKit is Apple's built -in In-App-Purchase library. It looks like the failure is inside there. What are you using to do in-app-purchase stuff? There are nil objects which suggests you are requesting items that don't exist. Would you disable any store related stuff to isolate if this is that cause.