Open devtobo opened 4 years ago
Sorry but signing is always messy with Xcode. Because my app is using an additional extension I always open the project in Xcode anyway to fixing signing issues. Cordova cli build never fully works for me sadly.
Ideally the hooks of this plugin should fix everything automatically and make it work. Are you sure your provisioning profiles are correct and set via the plugin variables in plugin.xml?
@devtobo did you manage to solve it?
I think the problem is with cordova-ios
. there's a need to define two provisioning profiles for the extension and the app, cordova-ios
seems to create a bad exportOptions.plist
file...
I can build via xcode with Automatically manage signing checked and everything works. When I try to build via the CLI I get these errors:
error: exportArchive: Automatic signing is unable to resolve an issue with the "ShareExt.appex" target's entitlements.
error: exportArchive: Provisioning profile "iOS Team Provisioning Profile: my.app.bundle.shareextension" doesn't match the entitlements file's value for the application-identifier entitlement.
I tried deleting all profiles under
~/Library/MobileDevice/Provisioning Profiles/
but the result stays the same.Any advice is appreciated