xcodes icon indicating copy to clipboard operation
xcodes copied to clipboard

Download with API key

Open rwong2888 opened this issue 2 years ago • 10 comments

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

rwong2888 avatar May 26 '23 02:05 rwong2888

+1

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

adelindanaila avatar Oct 11 '23 07:10 adelindanaila

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?

NajiNasimi-AIYou avatar Mar 09 '24 01:03 NajiNasimi-AIYou

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?

szagi avatar Apr 24 '24 05:04 szagi

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.

MattKiazyk avatar Apr 24 '24 13:04 MattKiazyk

api key support would be greatly appreciated

StephenHodgson avatar Nov 16 '24 20:11 StephenHodgson

api key support would be greatly appreciated

findthebug avatar Nov 26 '24 10:11 findthebug

api key support would be greatly appreciated

ykhandelwal913 avatar Jan 08 '25 18:01 ykhandelwal913

@MattKiazyk is this something planned for xcodes install support?

ykhandelwal913 avatar Apr 26 '25 19:04 ykhandelwal913

AFAIK this is not something that is available and is not implemented in Xcodes, it is just not possible with current Apple provided API

olejnjak avatar Apr 26 '25 19:04 olejnjak

That is correct, the auth is though the website which doesn't share any relation to app store connect api key unfortunately.

StephenHodgson avatar Apr 26 '25 23:04 StephenHodgson