I prefer to use a combination of Jenkins and fastlane to build and distribute my iOS application. Recently I tried to make a CI/CD server using Jenkins and fastlane and then I faced an issue that I had struggled to fix it. The issue is normally coming from a build process using gym in fastlane. The error log is normally like below.
No profile for team 'TXVIGNOXXXX’ matching ‘iPhone_Development' found: Xcode couldn't find any provisioning profiles matching 'TXVIGNOXXXX/iPhone_Development'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the General tab of the target editor
So how do I solve this issue?
Check your Provisioning Profile Mostly you can find this advice on the web. Provisioning Profile files are saved in the path
/Users/{{UserAccount}}/Library/MobileDevice/Provisoning Profiles
and then your right provisioning file should be there. But my case wasn’t like this. I use fastlane match to create and update Provisioning Profile and there should not be this issue.Check your Team ID Find your team ID and then check the Team ID is correct.
Permission issue The third one was my issue. In my case, I use
sudo
command to runfastlane release
. But the problem was the Provisioning Profile belongs to Jenkins user account. Then I just removed thesudo
command and then now it works. Still, I am not 100% sure that the issue was caused by the permission to runfastlane
command.
I hope that this article could help someone has a similar issue.
0 κ°μ λκΈ:
Post a Comment