Search code examples
nativescriptangular2-nativescriptnativescript-vuenativescript-sidekick

nativescript: error when publishing via Local Build


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.


Solution

  • You may pass the provisional profile as an argument.

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

    Read more at docs