You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've spent hours debugging a problem with an IPA and ends ups that the CLI does not respect the --release flag when it does archiving. I have the following in my build.xconfig:
When I run tns build ios --for-device --release and I inspect the contents of the platforms/ios/build/device/<myapp>.app the embedded.mobileprovision is the correct one (the Release one above). But if I extract the IPA file's Payload and inspect the embeeded.mobileprovision there it is the wrong one (the Debug one above). If I go to platforms/ios/archive and open the archive in XCode and export for AdHoc (for example) the correct provisioning profile is being used.
Expected behavior
The CLI should use the same provision profile when archiving as the one used to build the .app file.
The text was updated successfully, but these errors were encountered:
Edit: @PeterStaev Confirmed this is what is causing a lot of headache right now, it's trying to select my development certificate when archiving. How do we work around this until a patch is released?
I've spent hours debugging a problem with an IPA and ends ups that the CLI does not respect the
--release
flag when it does archiving. I have the following in mybuild.xconfig
:When I run
tns build ios --for-device --release
and I inspect the contents of theplatforms/ios/build/device/<myapp>.app
theembedded.mobileprovision
is the correct one (theRelease
one above). But if I extract the IPA file's Payload and inspect theembeeded.mobileprovision
there it is the wrong one (theDebug
one above). If I go toplatforms/ios/archive
and open the archive in XCode and export for AdHoc (for example) the correct provisioning profile is being used.Expected behavior
The CLI should use the same provision profile when archiving as the one used to build the
.app
file.The text was updated successfully, but these errors were encountered: