-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
iOS App Extensions - Release build error #5520
Comments
From the lack of responses I have to assume this is no longer or never has been fully supported? Any feedback would be welcomed. Thank you. |
I don't think it was ever "fully-supported" however, I believe you should be able to build it from within XCode by preparing the project after
|
@rigor789 Thanks for your feedback. That confirms my assumption 😞. Yes, it is working via Xcode itself, but sadly this is not a viable option for ci build processes… |
@jessorlisa If you enable |
I was looking into this problem as well. I was able to build the projectmap with xcodedebug (without the share extension). After beeing successful with this step, the share extension was added to the NS project. Preparing the project with But sadly Apple requires that the extension and the mobile app is signed with different certificates. Thats where im currently failing. Selecting the different certificates in xcode "manually" works out perfectly. Afterwards its possible to build the whole projectmap with the xcodedbuild cli. But sadly its not possible (or i didnt found a way) to modify with cli commands only "one project" - the share extension, inside of the project map, to change its default certificate to the "share extension" certificate. Still wondering how this ever was working... |
Environment
├── nativescript@7.2.1
@nativescript/core@7.3.0
├── @nativescript/ios@6.5.4
(JSC)Xcode 12.4 (12D4e)
├── @nativescript/angular@11.2.0
├── @nativescript/webpack@4.1.0
Describe the bug
We set up a Share extension following the instructions here, it is working as intended and the development build is working fine as well.
{N}7 documentation: iOS App Extensions
(The GitHub version of the documentation page can be found here.)
But the release build fails with the error/warning message:
The relevant release build steps are:
(1) Prepare the provisioning profile of the main app (myApp):
(2) Prepare the provisioning profile of the share extension (myApp_Share):
(3) Run the release build
To Reproduce
Expected behavior
The release build succeeds the same the development build does.
Additional context
It seems the CLI does not recognize all profiles as eligible:
Please let me know if there is anything else you need to assist us on this. Thanks!
The text was updated successfully, but these errors were encountered: