XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download with API key

rwong2888 opened this issue · comments

Is there a way to download via API key .p8 file instead of user/pass and 2fa code?

+1

will be great to have option to log in with app store connect api key

Any update on this?

UPDATE 11/03/24: There is a way to use API key .p8 file instead of native xcodes user/pass and 2fa codes. After much needed readings, the implemented fastlane authentication is able to facilitate as a middle man for xcodes and App Store Connect API Key .p8 file. Read through #257 first. Then explore (https://docs.fastlane.tools/getting-started/ios/authentication/#storing-a-manually-verified-session-using-spaceauth) reading through Method 1 to accomplish authentication via App Store Connect API key. This is currently the recommended method.

@rwong2888 and @adelindanaila was this something you were looking for?

Hi, unfortunately, in our CI pipeline we use API key instead of FASTLANE_SESSION and at the moment it is impossible to change it, so is it planned to support this authentication method?

Sorry, if there was a way that we could use the ASC api key or a app specific password we would immediately support it. To my knowledge, and last time I tried to look into hacking it, it isn't.

We don't want to have to manually login and 2fa, but Apple doesn't make it easy. At one point, Apple had it open to allow downloads without even logging in (like they currently do with platforms) but they stopped allowing it after a few weeks.