Skip to content
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

Using ios@5.0.0, still getting "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." #564

Closed
2 of 3 tasks
david-shortman opened this issue Mar 4, 2019 · 2 comments

Comments

@david-shortman
Copy link

david-shortman commented Mar 4, 2019

Bug Report

Problem

When building and publishing a Cordova iOS app through Fastlane, despite using version cordova-ios@5.0.0, I'm still getting the "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." error during publishing.

What is expected to happen?

#407 supposedly fixed this issue, and but even setting -UseNewBuildSystem=NO during xcode build doesn't work.

What does actually happen?

14:57:35 + ionic cordova platform rm ios
14:57:35 > cordova platform remove ios --save
14:57:36 Removing platform ios from config.xml file...
14:57:36 Removing ios from cordova.platforms array in package.json
14:57:46 + ionic cordova platform add ios@5.0.0
14:57:47 > cordova platform add ios@5.0.0 --save
14:57:48 Using cordova-fetch for cordova-ios@5.0.0
14:58:08 Adding ios project...
14:58:08 Creating Cordova project for the iOS platform:
14:58:08 	Path: platforms/ios
14:58:08 	Package: com.hallmarkinsco.iHallmark
14:58:08 	Name: iHallmark
14:58:08 iOS project created with cordova-ios@5.0.0
...
14:59:05 [14:59:05]: �[36m$ set -o pipefail && xcodebuild -workspace ./platforms/ios/iHallmark.xcworkspace -scheme iHallmark -destination 'generic/platform=iOS' -archivePath /Users/jenkins/Library/Developer/Xcode/Archives/2019-03-04/iHallmark\ 2019-03-04\ 14.59.05.xcarchive -allowProvisioningUpdates -UseNewBuildSystem=NO clean archive | tee /Users/jenkins/Library/Logs/gym/iHallmark-iHallmark.log | xcpretty�[0m
...
15:00:20 [15:00:20]: �[32m-------------------�[0m
15:00:20 [15:00:20]: �[32m--- Step: pilot ---�[0m
15:00:20 [15:00:20]: �[32m-------------------�[0m
15:00:21 [15:00:21]: Login to App Store Connect (appcenter@insuresoft.com)
15:00:26 [15:00:26]: Login successful
15:00:28 [15:00:28]: �[32mReady to upload new build to TestFlight (App: 1186759052)...�[0m
15:00:30 [15:00:30]: Going to upload updated app to App Store Connect
15:00:30 [15:00:30]: �[32mThis might take a few minutes. Please don't interrupt the script.�[0m
15:01:34 [15:01:34]: �[31m[Transporter Error Output]: ERROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision."
�[0m
15:01:34 [15:01:34]: �[31mTransporter transfer failed.�[0m

Information

Command or Code

Environment, Platform, Device

Running on macOS 10.14.3

Version information

cordova 8.1.2
fastlane 2.117.1

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@janpio
Copy link
Member

janpio commented Mar 4, 2019

What command did you use to build the app?
How did you setup codesigning and provisioning?

@david-shortman
Copy link
Author

...And I found out my fastlane gym function was uploading the wrong ipa. Closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants