-
-
Notifications
You must be signed in to change notification settings - Fork 196
Manual signing with distribution provisioning profile fails with NS 2.5 #2501
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
Comments
Confirmed. |
Any fixes for this one? |
having the same problem. |
@patrickpereira @spike1292 Edit lib/services/ios-project-service.js. Find: Replace with: Then pass the CODE_SIGN_IDENTITY env variable to your build command. |
Hey guys, sorry for not updating you. We haven't got the time to fix this with all the improvements around 3.0.0 RC. We'll consider it for a future release. I also have the same issue and am constantly reminding about it :). For now I recommend you to not use this option and as a workaround set PROVISIONING_PROFILE = <name > in build.xcconfig. |
@pkoleva thank you for the update, will try to use the |
@dbenninger once you use --provision it sets the provision's attributes in the pbxproj and they have higher precedence than the xcconfig. The --provsion should be able to use distribution certificates since #2705. If there is high demand we can either clear the pbxprj if no "--provision" is used or provide special option like "--provision -" or something that would clear its effect. The current design is to allow "tns prepare ios --provsion MyDevProfile" to be called once and skip the --provision flag in subsequent interactions with the CLI during development. PROVISIONING_PROFILE_SPECIFIER should be good to go again with #2705, we used to check if the xcconfig has PROVISIONING_PROFILE and switch to manual signing mode if it was specified. I've added checks for the specifier too. |
@PanayotCankov tested tns prepare ios --bundle --provision "match AdHoc nl.energiedirect.selfserviceapp" --release when I open xcode I see this: to be sure I just cleaned my so now I can't run my adhoc builds with a ci server, because of the manual interaction. |
@PanayotCankov @pkoleva Really hope this is in 3.2.0 |
@vbresults @spike1292 @patrickpereira @dbenninger This should be fixed in Can you please try:
Please let us know if you still encounter some issues. |
When Providing |
I can confirm signing with distribution provisioning works in @next and it will be officially released in As @PanayotCankov explained above, @vbresults @spike1292 @patrickpereira @dbenninger |
Uh oh!
There was an error while loading. Please reload this page.
When specifying the provisioning profile with the new command line parameter "--provision", the "CODE_SIGN_IDENTITY = iPhone Distribution" in build.xcconfig is ignored and "iPhone Developer" is used. The xcode build fails with the error message 'Provisioning profile "" doesn't include signing certificate "iPhone Developer: ..."' because it cannot find a developer certificate for the adhoc distribution provisioning profile.
To reproduce:
Manually editing the generated project.pbxproj and replacing "iPhone Developer" with "iPhone Distribution" solves the issue.
Opening the generated project settings in xcode shows you the same error message:

The text was updated successfully, but these errors were encountered: