nativescript: error when publishing via Local Build

123 views Asked by At

I can do cloud builds successfully but I am having issues with Local Builds. I checked xCod under Signings & Capabilities and the provisioning profile is setup properly but when publishing a Local Build in Nativescript Sidekick, I keep getting this error in the Sidekick console:

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

Not sure how to resolve this since the provisioning profile is setup in xcode properly AND the cert/provisioning profile were selected in Sidekick when initiating the publish.

1

There are 1 answers

1
Manoj On BEST ANSWER

You may pass the provisional profile as an argument.

tns publish ios ... --provision <Your Mobile Provisioning Profile Identifier>

Read more at docs