Post

Replies

Boosts

Views

Activity

Reply to Sonoma/Xcode 16 Share extensions do not work
My app has an action extension. I have both Xcode 15 and Xcode 16 installed. If I build with Xcode 15 it works, however if I switch to Xcode 16 and build then it no longer works as expected if run on iOS 18 (if built with Xcode 15 and run on iOS 18 it works, if built with Xcode 16 and run on iOS 17 it works. So its the dual combination of Xcode 16/iOS 18 where it doesn't work). If I run the action extension in Xcode there's red output classified as a fault from the com.apple.extensionkit subSystem: -[_EXSinkLoadOperator loadItemForTypeIdentifier:completionHandler:expectedValueClass:options:] nil expectedValueClass allowing {( _EXItemProviderSandboxedResource, NSString, NSMutableData, NSURL, UIImage, NSUUID, NSMutableArray, NSMutableDictionary, NSMutableString, NSDate, NSError, NSArray, NSValue, NSData, NSNumber, NSDictionary, CKShare )} That doesn't get logged when running with Xcode 15
Oct ’24
Reply to Determing cause of a crash with a generic stacktrace
"Are these crashes being missed by Crashlytics" Crashlytics can only know about a crash if the app runs after a crash has occurred and in addition Crashlytics gets a chance to upload crash reports. If there's a crash that occurs upon app launch, then the app and hence Crashlytics might not get the chance to run long enough in order to upload crash reports before the app terminates due to the current crash. i.e. if its a crash that always or often occurs at app launch, then Crashlytics probably won't have the execution time it needs to upload reports.
Oct ’24
Reply to iOS 18 ShareExtension openURL:
@eskimo "If your app extension needs to get the user’s attention, do that by posting a local notification." In my experience (I've tried it with several) most extension cannot post a notification. If the user grants permission for notifications that is granted to the app, not the extension, that means the extension itself has to request user permission, and that itself isn't possible. Am I missing a trick here?
Sep ’24