xcpretty / xcode-install

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

Manually installed Xcode 10.1 not listed as installed. #320

Closed jefferythomas closed 6 years ago

jefferythomas commented 6 years ago

I manually installed Xcode-10.1. I then opened, did the components update, and set it as the Command Lines Tools. mdfind Xcode-10.1 shows the location.

xcversion installed doesn't show 10.1 and xcversion version: "~> 10.1.0" in my Fastfile produces Cannot find an installed Xcode satisfying '~> 10.1.0'

✔ ~ 
05:34 $ xcversion installed
9.4.1   (/Applications/Xcode-9.4.1.app) 
✔ ~ 
05:34 $ xcversion selected
Xcode 10.1
Build version 10B61
✔ ~ 
05:35 $ mdfind Xcode-10.1
/Applications/Xcode-10.1.app

How can I debug this issue?

jefferythomas commented 6 years ago

So after another 1/2 day of opening and closing Xcode 10.1 with lots of builds, now it's showing on the list.

✔ ~ 
12:41 $ xcversion installed
9.4.1   (/Applications/Xcode-9.4.1.app)
10.1    (/Applications/Xcode-10.1.app)

I don't know how it fixed itself, but nothing to do now.