j3k0 / cordova-plugin-openwith

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

Cordova build iOS failing #88

Open FilippoPagano opened 4 years ago

FilippoPagano commented 4 years ago

Hello!

I cannot build for iOS.

I tried following the tutorial and many forks of this repo... but I cannot get to build properly.

This is what I use to install your plugin

cordova plugin add https://github.com/j3k0/cordova-plugin-openwith --variable ANDROID_MIME_TYPE="image/*" --variable IOS_URL_SCHEME=ccfoveaopenwithdemo --variable IOS_UNIFORM_TYPE_IDENTIFIER=public.text --variable IOS_GROUP_IDENTIFIER=group.it.myapp.iosapp.shareextension --variable SHAREEXT_PROVISIONING_PROFILE=430XXX07-0XX6-4140-aXXX-8cfdXXX831f --variable SHAREEXT_DEVELOPMENT_TEAM=ZDXXX29

And this is the last bit of output from Cordova build iOS

Running command: xcodebuild -exportArchive -archivePath myapp.xcarchive -exportOptionsPlist /Users/myuser/myapp/myapp/platforms/ios/exportOptions.plist -exportPath /Users/myuser/myapp/myapp/platforms/ios/build/device 2020-01-15 16:46:59.730 xcodebuild[28585:281455] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/77/048jjdr95p37c_h9t87nmbqm0000gn/T/myapp_2020-01-15_16-46-59.729.xcdistributionlogs'. error: exportArchive: "ShareExt.appex" requires a provisioning profile with the App Groups feature.

Error Domain=IDEProvisioningErrorDomain Code=9 ""ShareExt.appex" requires a provisioning profile with the App Groups feature." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="ShareExt.appex" requires a provisioning profile with the App Groups feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}

error: exportArchive: "myapp.app" requires a provisioning profile with the App Groups feature.

Error Domain=IDEProvisioningErrorDomain Code=9 ""myapp.app" requires a provisioning profile with the App Groups feature." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="myapp.app" requires a provisioning profile with the App Groups feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}

EXPORT FAILED

I have no idea what I'm doing wrong

NiklasMerz commented 4 years ago

You may need to open your project in Xcode and fix signing issues. Signing on iOS is tricky and this breaks sometimes for me, too.

FilippoPagano commented 4 years ago

Thank you !

Il giorno ven 17 gen 2020 alle ore 08:04 Niklas Merz < notifications@github.com> ha scritto:

You may need to open your project in Xcode and fix signing issues. Signing on iOS is tricky and this breaks sometimes for me, too.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/j3k0/cordova-plugin-openwith/issues/88?email_source=notifications&email_token=AB25KMA27XBJXFRXPLGOUTTQ6FKA5A5CNFSM4KHFZNMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJGXOXA#issuecomment-575502172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB25KMBSSBYPITTUFQNOMUDQ6FKA5ANCNFSM4KHFZNMA .