j3k0 / cordova-plugin-openwith

Get your Cordova App in the O.S. "Share" menu on iOS and Android
MIT License
138 stars 114 forks source link

** EXPORT FAILED ** in ios build #77

Open iamtarun1993 opened 5 years ago

iamtarun1993 commented 5 years ago

When I run ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0" my app archive was succeeded(** ARCHIVE SUCCEEDED **) but app export was failed showing this ** EXPORT FAILED **.

Before failing it is giving this error in log `error: exportArchive: No profiles for 'my_app_bundle_identifier.shareextension' were found

Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'my_app_bundle_identifier.shareextension' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'my_app_bundle_identifier.shareextension' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Development provisioning profiles matching 'my_app_bundle_identifier.shareextension'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.}`

HarelM commented 4 years ago

@iamtarun1993 did you manage to solve this? I think the same root cause is what I wrote here: https://github.com/j3k0/cordova-plugin-openwith/issues/73

HarelM commented 4 years ago

OK, I managed to solve this using a fork of cordova-ios since cordova-ios does not support more than one provisioning profile. I sent the a PR, I hope this will be merged soon. https://github.com/apache/cordova-ios/pull/956