Hello, apple devs.
When I call [SKProductStorePromotionController updateStorePromotionVisibility:forProduct:completionHandler:] with completion handler my program crashes with obj-c exception. Can you fix this problem in feature releases?
Date/Time: 2021-10-30 11:15:01.6092 +0900
Launch Time: 2021-10-30 11:15:00.4154 +0900
OS Version: iPhone OS 14.7.1 (18G82)
Release Type: User
Baseband Version: 2.05.01
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Last Exception Backtrace:
0 CoreFoundation 0x1970e2708 __exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x1abbec7a8 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x196fe5bfc -[NSObject(NSObject) doesNotRecognizeSelector:] + 144 (NSObject.m:146)
3 CoreFoundation 0x1970e5260 ___forwarding___ + 1444 (NSForwarding.m:3651)
4 CoreFoundation 0x1970e7560 _CF_forwarding_prep_0 + 96
5 StoreKit 0x1b51afe5c _SKErrorFromNSError + 48 (SKError.m:22)
6 StoreKit 0x1b51ca788 __97-[SKProductStorePromotionController updateStorePromotionVisibility:forProduct:completionHandler:]_block_invoke + 56 (SKProductStorePromotionController.m:96)
7 StoreKit 0x1b51af6c0 __50-[SKPromotedIAPSetVisibilityRequest _handleReply:]_block_invoke + 64 (SKPromotedIAPSetVisibilityRequest.m:56)
8 libdispatch.dylib 0x196ccda84 _dispatch_call_block_and_release + 32 (init.c:1466)
9 libdispatch.dylib 0x196ccf81c _dispatch_client_callout + 20 (object.m:559)
10 libdispatch.dylib 0x196cd2968 _dispatch_queue_override_invoke + 756 (inline_internal.h:2557)
11 libdispatch.dylib 0x196ce0fe0 _dispatch_root_queue_drain + 388 (inline_internal.h:2598)
12 libdispatch.dylib 0x196ce17d8 _dispatch_worker_thread2 + 112 (queue.c:6765)
13 libsystem_pthread.dylib 0x1e2d52768 _pthread_wqthread + 216 (pthread.c:2449)
14 libsystem_pthread.dylib 0x1e2d5974c start_wqthread + 8