Invalid Provisioning Profile. The provisioning profile included in the bundle

Invalid Provisioning Profile. The provisioning profile included in the bundle XXX.XXX.XX [Payload/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appe😆 is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90161 for id 81c3cef4-fefe-468d-910c-cf7a4b5377a8

Any help? I have tried to create new provisioning profile and identifiers but still get this error when uploading app to the App Store.

I experienced this issue too, and was able to resolve it by using TimeMachine to restore my app's Xcode project file to a version from yesterday.

The provisioning profile issue started today after Xcode 26b3 offered to update my app's project file, and I approved the updates. That update process altered something with the project's provisioning profile data which Xcode 16.4 did not like or did not understand. The result: Xcode 16.4 was unable to install my app on any of my devices (iPad, iPhone, Mac)-- even though Xcode 26b3 was able to. The error message I encountered was very similar to what @lydiamatu (the OP) quoted.

I realize that this message is an old thread, but thought I'd post this reply in case anybody else working with Xcode 26 beta encountered the same issue and was searching the forums for "provisioning".

Invalid Provisioning Profile. The provisioning profile included in the bundle
 
 
Q