sparkfabrik / ios-build-action

Build iOS project (.xcodeproj, .xcworkspace), export .ipa, optional upload to BrowserStack App Live.
MIT License
129 stars 24 forks source link

No "iOS Development" signing certificate matching team ID "UR5K4GHIV6" #31

Closed gilbertomaga closed 3 months ago

gilbertomaga commented 3 months ago

Hi,

I'm experiencing an issue with matching certificates:

Error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "UR5K4GHIV6" with a private key was found. (in target 'IOS-APP' from project 'IOS-APP')

Certificates and provisioning profiles are automatically created on the App Store and stored in the GitHub repository during the match step. However, the problem arises during the fastlane build phase.

When I use export-method: development and match-build-type: development, everything works as expected. But when I switch to export-method: app-store and match-build-type: appstore to publish to TestFlight, the error appears.

I tried a manual setup with my own fastlane file and made some changes, which allowed me to build and also publish the app to TestFlight. One of the changes was not using the export_team_id parameter. I'm not sure if this is causing the issue or if there's something else I'm missing. Can you help me on this?

I'm using sparkfabrik/ios-build-action@v2.3.2.

Solution: Manual import the Provisioning profile in Xcode to automatically update the project.pbxproj file.