Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova build iOS failing #88

Open
FilippoPagano opened this issue Jan 15, 2020 · 2 comments
Open

Cordova build iOS failing #88

FilippoPagano opened this issue Jan 15, 2020 · 2 comments

Comments

@FilippoPagano
Copy link

FilippoPagano commented Jan 15, 2020

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
Copy link
Collaborator

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
Copy link
Author

FilippoPagano commented Jan 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants