Skip to content

xcode-project use-profiles cannot find provisioning profiles anymore #483

@stherold

Description

@stherold

We use Fastlane match for managing our provisioning profiles and certificates. Now from Fastlane 2.230.0 on they integrated the PR fastlane/fastlane#29508, which changes the location provisioning profiles get downloaded to. The new path seems to be the new Location for Xcode 16+.

After running fastlane match, I need to run xcode-project use-profiles --export-options-plist "export_options.plist" to autogeneate this plist. But it still searches in the old place and cannot find any profiles:

Searching for files matching /Users/builder/Library/MobileDevice/Provisioning Profiles/*.mobileprovision
Searching for files matching /Users/builder/Library/MobileDevice/Provisioning Profiles/*.provisionprofile
List available code signing certificates in keychain /Users/builder/Library/Keychains/fastlane_tmp_keychain-db
/Users/builder/.local/share/uv/tools/codemagic-cli-tools/lib/python3.13/site-packages/codemagic/models/certificate.py:99: UserWarning: Attribute's length must be >= 1 and <= 64, but it was 65
  for name_attribute in self.certificate.subject
/Users/builder/.local/share/uv/tools/codemagic-cli-tools/lib/python3.13/site-packages/codemagic/models/certificate.py:99: UserWarning: Attribute's length must be >= 1 and <= 64, but it was 71
  for name_attribute in self.certificate.subject
Searching for files matching /Users/builder/clone/**/*.xcodeproj
Completed configuring code signing settings
Did not find matching provisioning profiles for code signing!
Generated options for exporting the project
 - Method: ad-hoc
 - Provisioning Profiles: []
 - Signing Certificate: 
 - Signing Style: manual
 - Team Id: 
Saved export options to /Users/builder/exported_artefacts/export_options.plist

As a result the plist file contains no certificates and profiles.

Could you please update the path in your toolking too and use the old one as fallback?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions