Post

Replies

Boosts

Views

Activity

Reply to Mac App Store url problem on Mac M1
Hi ! I've exactly the same problem with my app on macOS (M1): app crashes when opening Mac AppStore URL: UIApplication.shared.open(url, options: options) Here is the trace : *** Assertion failure in -[UINSUIKitBackgroundingController _updateAppWideBackgroundStateSlammingNotifyingDelegate:], UINSUIKitBackgroundingController.m:382 [General] An uncaught exception was raised [General] -[UINSUIKitBackgroundingController _updateAppWideBackgroundStateSlammingNotifyingDelegate:]: Called off the main thread. [General] ( 0   CoreFoundation                      0x000000019d2b9198 __exceptionPreprocess + 240 1   libobjc.A.dylib                     0x000000019d003e04 objc_exception_throw + 60 2   Foundation                          0x000000019e1efea8 -[NSCalendarDate initWithCoder:] + 0 3   UIKitMacHelper                      0x00000001b2b55c14 -[UINSUIKitBackgroundingController _updateAppWideBackgroundStateSlammingNotifyingDelegate:] + 504 4   UIKitMacHelper                      0x00000001b2b53fe4 -[UINSUIKitBackgroundingController transitionUIAppThroughBackgroundStateIfNecessary] + 144 5   UIKitMacHelper                      0x00000001b2b277ec -[UINSApplicationLifecycleController transitionAppThroughBackgroundState] + 308 6   UIKitMacHelper                      0x00000001b2b0d584 -[UINSApplicationDelegate _toggleAppForegroundStateIfAppStoreURL:] + 276- 7   UIKitMacHelper                      0x00000001b2b0d9bc __54-[UINSApplicationDelegate openURL:options:completion:]_block_invoke_2 + 196 8   AppKit                              0x00000001a0660dd8 _NSWorkspaceHandleLSOpenResult + 164 9   LaunchServices                      0x000000019d845f10 _Z24_LSFireCompletionHandlerU13block_pointerFvPK7__LSASNhP9__CFErrorEP5NSURLS7_P12NSDictionaryIP8NSStringP11objc_objectESC_bP7NSError + 200 10  LaunchServices                      0x000000019d848b80 _ZL28_LSOpenAsyncCommonDispatchedP11objc_objectP7NSArrayIP5NSURLES3_S0_P12NSDictionaryIP8NSStringS0_EPU32objcproto21OS_dispatch_semaphore8NSObjectU13block_pointerFvPK7__LSASNhP9__CFErrorE + 5732 11  libdispatch.dylib                   0x0000000106f60804 _dispatch_call_block_and_release + 32 12  libdispatch.dylib                   0x0000000106f623a8 _dispatch_client_callout + 20 13  libdispatch.dylib                   0x0000000106f6b778 _dispatch_lane_serial_drain + 980 14  libdispatch.dylib                   0x0000000106f6c814 _dispatch_lane_invoke + 492 15  libdispatch.dylib                   0x0000000106f7c0c8 _dispatch_workloop_worker_thread + 1232 16  libsystem_pthread.dylib             0x0000000106aaff84 _pthread_wqthread + 288 17  libsystem_pthread.dylib             0x0000000106ab7a9c start_wqthread + 8 ) Any clue about it ? The call is made on the main thread Thanks for your help Jeremie
Jun ’22
Reply to Mac App Store url problem on Mac M1
Thanks a lot for your help Quinn Just opened a bug report with bug number: FB10293101 Have a nice day Jeremie
Replies
Boosts
Views
Activity
Jun ’22
Reply to Mac App Store url problem on Mac M1
Hello Quinn ! I've just sent you the .IPS file via email as you've asked a few messages before mine. Thanks for your help Have a good day Jeremie (Sambot from Jay&Jay)
Replies
Boosts
Views
Activity
Jun ’22
Reply to Mac App Store url problem on Mac M1
Hi ! I've exactly the same problem with my app on macOS (M1): app crashes when opening Mac AppStore URL: UIApplication.shared.open(url, options: options) Here is the trace : *** Assertion failure in -[UINSUIKitBackgroundingController _updateAppWideBackgroundStateSlammingNotifyingDelegate:], UINSUIKitBackgroundingController.m:382 [General] An uncaught exception was raised [General] -[UINSUIKitBackgroundingController _updateAppWideBackgroundStateSlammingNotifyingDelegate:]: Called off the main thread. [General] ( 0   CoreFoundation                      0x000000019d2b9198 __exceptionPreprocess + 240 1   libobjc.A.dylib                     0x000000019d003e04 objc_exception_throw + 60 2   Foundation                          0x000000019e1efea8 -[NSCalendarDate initWithCoder:] + 0 3   UIKitMacHelper                      0x00000001b2b55c14 -[UINSUIKitBackgroundingController _updateAppWideBackgroundStateSlammingNotifyingDelegate:] + 504 4   UIKitMacHelper                      0x00000001b2b53fe4 -[UINSUIKitBackgroundingController transitionUIAppThroughBackgroundStateIfNecessary] + 144 5   UIKitMacHelper                      0x00000001b2b277ec -[UINSApplicationLifecycleController transitionAppThroughBackgroundState] + 308 6   UIKitMacHelper                      0x00000001b2b0d584 -[UINSApplicationDelegate _toggleAppForegroundStateIfAppStoreURL:] + 276- 7   UIKitMacHelper                      0x00000001b2b0d9bc __54-[UINSApplicationDelegate openURL:options:completion:]_block_invoke_2 + 196 8   AppKit                              0x00000001a0660dd8 _NSWorkspaceHandleLSOpenResult + 164 9   LaunchServices                      0x000000019d845f10 _Z24_LSFireCompletionHandlerU13block_pointerFvPK7__LSASNhP9__CFErrorEP5NSURLS7_P12NSDictionaryIP8NSStringP11objc_objectESC_bP7NSError + 200 10  LaunchServices                      0x000000019d848b80 _ZL28_LSOpenAsyncCommonDispatchedP11objc_objectP7NSArrayIP5NSURLES3_S0_P12NSDictionaryIP8NSStringS0_EPU32objcproto21OS_dispatch_semaphore8NSObjectU13block_pointerFvPK7__LSASNhP9__CFErrorE + 5732 11  libdispatch.dylib                   0x0000000106f60804 _dispatch_call_block_and_release + 32 12  libdispatch.dylib                   0x0000000106f623a8 _dispatch_client_callout + 20 13  libdispatch.dylib                   0x0000000106f6b778 _dispatch_lane_serial_drain + 980 14  libdispatch.dylib                   0x0000000106f6c814 _dispatch_lane_invoke + 492 15  libdispatch.dylib                   0x0000000106f7c0c8 _dispatch_workloop_worker_thread + 1232 16  libsystem_pthread.dylib             0x0000000106aaff84 _pthread_wqthread + 288 17  libsystem_pthread.dylib             0x0000000106ab7a9c start_wqthread + 8 ) Any clue about it ? The call is made on the main thread Thanks for your help Jeremie
Replies
Boosts
Views
Activity
Jun ’22
Reply to How to detect close button action for default manage subscription in iOS 15?
Same problem here and had this problem also with SwiftUI view modifier .manageSubscriptionsSheet(isPresented: self.$showManageSubscriptions) Any workaround ?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’22