Comments (9)
@greatcat19 What command are you running?
@nekrich an idea?
from fastlane.
something like
$ bundle e fastlane match development --platform catalyst
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
from fastlane.
Could you run VERBOSE=true bundle e fastlane match development --platform catalyst
and also put more of your output so we see where it fails? Thanks.
from fastlane.
Running into the same problem right now.
[19:37:59]: Creating new provisioning profile for 'redacted' with name 'match Development redacted catalyst' for 'catalyst' platform
INFO [19:38:00]: >> POST profiles: {"data":{"attributes":{"name":"match Development redacted catalyst","profileType":"MAC_CATALYST_APP_DEVELOPMENT","templateName":null,"teamId":"redacted"},"type":"profiles","relationships":{"bundleId":{"data":{"type":"bundleIds","id":"redacted"}},"certificates":{"data":[{"type":"certificates","id":"redacted"}]},"devices":{"data":[]}}}}
DEBUG [19:38:00]: << POST profiles: 409 {
"errors" : [ {
"id" : "redacted",
"status" : "409",
"code" : "ENTITY_ERROR",
"title" : "There is a problem with the request entity",
"resultCode" : 35,
"detail" : "There are no current MAC_OS devices on this team matching the provided device IDs."
} ]
}
This seems to be the relevant part.
from fastlane.
@Schlabbi can you confirm that the devices
array is indeed empty in the POST request body?
Can you try with fastlane 2.217 and see if the request has the same content? Thanks
from fastlane.
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.
from fastlane.
@Schlabbi can you confirm that the
devices
array is indeed empty in the POST request body?Can you try with fastlane 2.217 and see if the request has the same content? Thanks
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.
from fastlane.
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
a3715d6 after
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.
from fastlane.
Ran into the same issue on 2.219, downgrading to 2.217 helped.
from fastlane.
Related Issues (20)
- Having issues with provisioning profiles HOT 1
- ARCHIVE FAILED The following build commands failed: ...(in target 'React-rncore' from project 'Pods') HOT 10
- Unable to deploy iOS app to apple app store using fastlane HOT 1
- failed to authenticate with fastlane API key with Azure pipeline HOT 2
- Exit status: 65 HOT 1
- Apple changed AppStatus 'Ready for Sales' to 'Ready for Distribution' HOT 2
- `match init` assumes a default branch of `master` when using git storage, which is no longer the Github default HOT 1
- upload_to_app_store does not upload release_notes.txt. No error thrown. All other metadata files are uploaded HOT 1
- Unable to upload to app store " Could not find action, lane or variable 'id'" HOT 1
- No ipa or pkg file given while uploading to app store HOT 7
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.