New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[match] cannot create new provisioning profiles for Mac/Catalyst since 2.218.0 #21837
Comments
@greatcat19 What command are you running? @nekrich an idea? |
something like
My lane: def perform_match(type)
platform = lane_context[:PLATFORM_NAME]
# https://docs.fastlane.tools/actions/match/#match
match_platform = platform == :ios ? 'ios' : 'catalyst'
match(
type: type,
team_id: TEAM_ID,
api_key_path: ASC_KEY_PATH, # comment me out when readonly is false
app_identifier: MAIN_IDENTIFIERS,
platform: match_platform,
additional_cert_types: type == 'developer_id' ? 'developer_id_installer' : nil,
)
end
desc 'This lane downloads and configures the code signing certificates and profiles.'
lane :configure_code_signing do |options|
perform_match('appstore') if options[:appstore] == true
perform_match('development') if options[:development] == true
end |
Could you run |
Running into the same problem right now.
This seems to be the relevant part. |
@Schlabbi can you confirm that the Can you try with fastlane 2.217 and see if the request has the same content? Thanks |
I am getting the same issue for iOS adhoc profiles with fastlane 2.216 when I don't have devices registered in my portal. Maybe the issue is that development profiles cannot be created without having device in the portal? I haven't tried doing it by hand. |
It works with 2.217. And yes, the devices array is indeed empty in the POST request. On 2.217 the array is not empty and it seems to work just fine. |
I suspect it is due to the integration of the Cache. @nekrich an idea? @Schlabbi you can confirm if the cache is indeed the culprit by testing fastlane at the following commits 4eb636f before the cache another thing that could be helpful would be to run your both 2.217 and 2.218 in verbose mode. and compare the queries. In particular I am interested in this code: It should trigger a query of the existing devices, but then it filters them out. I wonder if that's what is causing the array to be empty afterwards. |
Ran into the same issue on 2.219, downgrading to 2.217 helped. |
@lacostej I just tested the two commits you mentioned 4eb636f works as expected (devices array in POST is not empty) This means #21915, which is on |
New Regression Checklist
Regression Information
2.218.0
2.217.0
Regression Description
Fastlane Error for creating new provisioning profiles for mac / catalyst apps.
2.218.0:
2.219.0:
Complete output when running fastlane, including the stack trace and command used
Environment
Loaded fastlane plugins:
Loaded gems
The text was updated successfully, but these errors were encountered: