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

No profiles were found #1122

Closed
3 tasks done
FireLizard opened this issue Jun 24, 2021 · 1 comment · Fixed by #1276
Closed
3 tasks done

No profiles were found #1122

FireLizard opened this issue Jun 24, 2021 · 1 comment · Fixed by #1276

Comments

@FireLizard
Copy link

Bug Report

Problem

When exporting the built app it should use the automatic created provisioning profile, but it was not found.

# part of `cordova build ios` (see below)
$ xcodebuild -exportArchive ...
...
Details:  Unable to close provisioning ledger entry because not all of its subentries are closed
Object:   <IDEProvisioningLedgerEntry: 0x7fe785999cb0>
Method:   -closeWithError:
Thread:   <NSThread: 0x7fe7853e1d70>{number = 8, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
error: exportArchive: Create certificate

Error Domain=IDEProvisioningErrorDomain Code=19 "Create certificate" UserInfo={IDEDistributionIssueSeverity=3, IDEProvisioningError_UserInfoKey_IDEProvisioningUserAction=<IDEProvisioningCreateTeamOwnedCertificateUserAction: 0x7fe7859aa8c0>, NSLocalizedRecoverySuggestion=Create a new Apple Distribution certificate for your team., NSLocalizedDescription=Create certificate}

error: exportArchive: No profiles for 'org.example.my-app' were found

Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'org.example.my-app' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'org.example.my-app' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS App Store provisioning profiles matching 'org.example.my-app'.}

** EXPORT FAILED **

Information

  • Apple ID is registered in Xcode (Xcode -> Preferences -> Account)
  • Automatic signing is enabled (verified through Xcode -> Target Settings -> Signing & Capabilities)
  • Development Team is choosen (as before)
  • Provisioning Profile was created by Xcode called "iOS Team Provisioing Profile: "
  • Signing certificate is in both keychains "System" and "Login"

It has worked so far until the provisioning profile was expired (error: Provisioning profile "<name>" expired on 5. Jun 2021.).

Command or Code

# clean or add the iOS build
$ cordova clean ios || cordova platform add ios --nosave

# build the iOS app (create archive and export)
$ cordova build ios --release --device --packageType=app-store --automaticProvisioning=true --codeSignIdentity="iPhone Developer" --developmentTeam="<team UID>"

Environment, Platform, Device

  • macOS Big Sur
  • Xcode 12.5.1

Version information

  • cordova 10.0.0
  • cordova-ios 6.2

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@dpogue dpogue linked a pull request Apr 15, 2023 that will close this issue
3 tasks
@dpogue
Copy link
Member

dpogue commented Apr 15, 2023

The issue in this case is not the provisioning profile, but the certificate.

The next version of Cordova-iOS will include support for the Cloud Distribution certificate signing that was introduced in Xcode 13.

@dpogue dpogue closed this as completed Apr 15, 2023
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

Successfully merging a pull request may close this issue.

2 participants