Description of the issue
I’m trying to deploy my app to AppStore & PlayStore. I’m using fastlane-match for signing profile, and the step ends without problem and with a successfully message. But in the next step, the cordova-achive says I’m missing the provisioning profile.
I’m using fastlane match (fastlane-match@0.1.0
) for signing profile, the step ends successfully
[14:32:52]: All required keys, certificates and provisioning profiles are installed 🙌
Success
But, the next step cordova-achirve (cordova-archive@1.0.1
) can’t find the provisioning profile, throw an error and ends like this:
2018-01-11 14:34:47.820 xcodebuild[6746:20396] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fa1aefa8070>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProvisioningErrorDomain Code=9 \"\"Cloudponics.app\" requires a provisioning profile.\" UserInfo={NSLocalizedDescription=\"Cloudponics.app\" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}"
)}
error: exportArchive: "Cloudponics.app" requires a provisioning profile.
Error Domain=IDEProvisioningErrorDomain Code=9 ""Cloudponics.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="Cloudponics.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
** EXPORT FAILED **
Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,Cloudponics.xcarchive,-exportOptionsPlist,/Users/vagrant/git/platforms/ios/exportOptions.plist,-exportPath,/Users/vagrant/git/platforms/ios/build/device
cordova failed, error: exit status 1
Environment:
Where did the issue happen?
Xamarin, Visual Studio for Mac, Stable channel, on macOS, a.k.a.: osX - vs4mac - stable
details: bitrise.io/osx-vs4mac-stable.log at master · bitrise-io/bitrise.io · GitHub
Which build Step causes the issue and which version of the step?
cordova-archive@1.0.1
Reproducibility
- Rebuild doesn’t work, even without cache.
- It happens every time
- It’s in the latest version
- After include iOS in the build. It use to work when I was working only with Android
Local reproduction
I can’t reproduce local