I am experiencing crashing in xcode in my ios game when requesting in app purchase product identifiers.
here is the code that gets highlighted in xcode:
int retVal = UIApplicationMain(argc, argv, nil, @"RuntimeIPhoneAppDelegate");
here is the error I get:
GalacticGolf[75168:6954506] Sending events from store ...
2020-02-09 22:42:40.838442-0500 GalacticGolf[75168:6954506] Frequency: 44100
2020-02-09 22:42:41.004658-0500 GalacticGolf[75168:6954506] Requesting product information for: com.clickteam.galacticgolf.hintOne
2020-02-09 22:42:41.053110-0500 GalacticGolf[75168:6954572] Products Request Did Receive Response
2020-02-09 22:42:41.053324-0500 GalacticGolf[75168:6954572] Sending events from store ...
2020-02-09 22:42:41.056551-0500 GalacticGolf[75168:6954572] Invalid product identifier: com.clickteam.galacticgolf.hintOne
2020-02-09 22:42:41.119146-0500 GalacticGolf[75168:6954506] Payment Queue Updated Transactions
2020-02-09 22:42:41.120597-0500 GalacticGolf[75168:6954506] Sending events from store ...
2020-02-09 22:42:41.159318-0500 GalacticGolf[75168:6954506] -[CExtension isPaused]: unrecognized selector sent to instance 0x7f980ae49d60
2020-02-09 22:42:41.164347-0500 GalacticGolf[75168:6954506] CRASH: -[CExtension isPaused]: unrecognized selector sent to instance 0x7f980ae49d60
2020-02-09 22:42:41.167818-0500 GalacticGolf[75168:6954506] Stack Trace: (
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c91fd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23c75c4c ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23c77f78 _CF_forwarding_prep_0 + 120
5 GalacticGolf 0x0000000100fdd83b -[CRuniOSStore updatedTransactions:] + 1659
6 GalacticGolf 0x0000000100fdc354 -[GlobalStore sendEvents] + 372
7 GalacticGolf 0x0000000100fdc3e0 -[GlobalStore paymentQueue:updatedTransactions:] + 96
8 libdispatch.dylib 0x0000000101556dd4 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x0000000101557d48 _dispatch_client_callout + 8
10 libdispatch.dylib 0x0000000101565de6 _dispatch_main_queue_callback_4CF + 1500
11 CoreFoundation 0x00007fff23bd4049 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
12 CoreFoundation 0x00007fff23bceca9 __CFRunLoopRun + 2329
13 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
14 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
15 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
16 GalacticGolf 0x0000000100f5843b main + 91
17 libdyld.dylib 0x00007fff5227ec25 start + 1
)
2020-02-09 22:42:41.171345-0500 GalacticGolf[75168:6954506] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CExtension isPaused]: unrecognized selector sent to instance 0x7f980ae49d60'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c91fd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23c75c4c ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23c77f78 _CF_forwarding_prep_0 + 120
5 GalacticGolf 0x0000000100fdd83b -[CRuniOSStore updatedTransactions:] + 1659
6 GalacticGolf 0x0000000100fdc354 -[GlobalStore sendEvents] + 372
7 GalacticGolf 0x0000000100fdc3e0 -[GlobalStore paymentQueue:updatedTransactions:] + 96
8 libdispatch.dylib 0x0000000101556dd4 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x0000000101557d48 _dispatch_client_callout + 8
10 libdispatch.dylib 0x0000000101565de6 _dispatch_main_queue_callback_4CF + 1500
11 CoreFoundation 0x00007fff23bd4049 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
12 CoreFoundation 0x00007fff23bceca9 __CFRunLoopRun + 2329
13 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
14 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
15 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
16 GalacticGolf 0x0000000100f5843b main + 91
17 libdyld.dylib 0x00007fff5227ec25 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)