xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.59k stars 239 forks source link

Apple Developer Program membership required to install Beta software using xcversion #228

Open UnsafePointer opened 7 years ago

UnsafePointer commented 7 years ago

This is more of a question I guess. According to https://developer.apple.com/support/beta-software/:

screen shot 2017-07-06 at 15 38 23

An Apple Developer Program membership is not required to download Beta software. This is actually true. I was able to see the Xcode 9 download login in with a non membership user. But using xcversion I ran the update command and the list didn't show Xcode 9. After inviting that user to the Apple Developer Program xcversion worked as expected.

What do you folks think? Sounds like the website and the Developer Centre API are not showing the same information (radar time I guess), or is it worth having a look at the response parsing or something?

KrauseFx commented 7 years ago

Interesting, nice catch. What I'm wondering: is it worth it changing xcode-install, even though the main user group of this tool will probably have a developer account? Might be cool to not having to provide the credentials though.

UnsafePointer commented 7 years ago

I'm not sure if not having to provide credentials is viable, because although you don't need an Apple Developer Program membership, you still need an Apple ID to access downloads, and possibly the API. We could put a default account in xcode-install, not sure if that would be beneficial enough (or safe enough) to justify the changes, as you have a good point with:

the main user group of this tool will probably have a developer account.