Sonoma/Xcode 16 Share extensions do not work

My app has extensions, including a share extension. When I upgraded to Sonoma and Xcode 16, the share extension compiles but it does not show up as an share option in any apps. The other extensions are working correctly.

So I then created a blank project from scratch and created a new share extension using the included wizard. I added the appropriate extension options, and no matter what I tried, even TRUEPREDICATE, the share extension will not show. I confirmed the target deployment matches the main project and went through every possible check. No matter what I do, the share extension will not show (tested on ios 15, 16,17, and 18. I am pretty certain that there is a bug in either X code 16 or in X code 16 with Sonoma. Please verify - try to create a share extension and see if it works.

Help is appreciated.

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

Apple please reply here I can’t deploy my app until there is a work around or a fix. I have Sonoma so I cannot downgrade to X code 15. This is urgent. Please help.

I meant i am on sequoia

I believe this is an issue with running board. I get this error in debug mode: target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit

Sonoma/Xcode 16 Share extensions do not work
 
 
Q