Skip to content

Conversation

@priitlatt
Copy link
Contributor

@priitlatt priitlatt commented Feb 13, 2026

Fixes #483.

Xcode stores provisioning profiles in directory ~/Library/Developer/Xcode/UserData/Provisioning Profiles starting from version 16.0. Before that it used to be ~/Library/MobileDevice/Provisioning Profiles.

While newer Xcode versions still recognize profiles that are stored in the old location, there can be problems in case some other tool is used to obtain provisioning profiles, which puts them in the new location. In this case xcode-project use-profiles will not find suitable profiles for example.

Changes here ensure that app-store-connect fetch-signing-files and app-store-connect profiles get --save will store the profiles in the same place as current Xcode versions. To keep profiles and certificates in roughly the same place, similar changes were also applied to default certificates location.

Updated actions

  • app-store-connect fetch-signing-files
  • app-store-connect profiles get (when used with --save option)
  • app-store-connect certificates get (when used with --save option)
  • keychain add-certificates
  • xcode-project use-profiles

@priitlatt priitlatt changed the title Default provisioning profile paths Update default save path for certificates and provisioning profile Feb 13, 2026
@priitlatt
Copy link
Contributor Author

QA notes

Changes were tested in Codemagic. Signing files were fetched with app-store-connect fetch-signing-files, certificates were added to keychain with keychain add-certificates and finally Xcode project was reconfigured for code signing using `xcode-project use-profiles. After that iOS application was built and then published to TestFlight.

CI pipeline with this test screnario successfully ran on a VMs with

  • Xcode 16.0
  • Xcode 16.1
  • Xcode 16.2
  • Xcode 16.3
  • Xcode 16.4
  • Xcode 26.0
  • Xcode 26.1
  • Xcode 26.2

@priitlatt priitlatt marked this pull request as ready for review February 13, 2026 12:56
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 this pull request may close these issues.

xcode-project use-profiles cannot find provisioning profiles anymore

1 participant