I am facing this error from few days and I am unable to release the.ipa file manually also due to this issue
error: No profile for team 'team_id' matching 'com.companyname.appname' found: Xcode couldn't find any provisioning profiles matching 'team_id/com.companyname.appname'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'TargetName' from project 'ProjectName')
Earlier I was able to build and submit the app using the same provisioning profile.
This is my beta name in fastfile
lane :beta do
version = get_version_number(target: 'TargetName')
get_certificates # invokes cert
get_provisioning_profile # invokes sigh
increment_version_number(version_number: version)
increment_version_number(bump_type: 'patch')
build_app(workspace: "ProjectName.xcworkspace", scheme: "SchemeName", skip_profile_detection: true )
upload_to_testflight
end
Note my code signing is set to MANUAL
I was able to submit the app to test flight with the same configuration mentioned above but suddenly it stopped working.
I have tried following to fix the issue
Dir.chdir('../Pods') do
disable_automatic_code_signing(
path: 'ProjectName.xcodeproj',
team_id: 'team_id',
targets: ['TargetName'],
profile_name: 'com.companyname.appname'
)
gym(workspace: 'ProjectName.xcworkspace',scheme: "SchemeName", clean: true)
upload_to_testflight
end
mv ~/Library/MobileDevice/Provisioning\ Profiles ~/Library/MobileDevice/Old\ Provisioning\ Profile
Even with the newly created Provisioning profile the problem still persistsStill unable to resolve the issue.
Please help.
Thanks in Advance
often this error will happen if the xcode project is set to Automatically manage signing.
To check, open the xCode project, click on your target, select the option called Signing and Capabilities and make sure that the checkbox Automatically manage signing is not checked.
Once you have unchecked it, make sure to select a valid provisioning profile from the drop down list Provisioning Profile .
Best, Jorge
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.