xcpretty / xcode-install

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

iOS simulator 12.4 (default in Xcode 10.3) not supported in release 2.6.0? #342

Closed phirk closed 1 year ago

phirk commented 4 years ago

We're trying to install Xcode 10.3 via Chef, using Microsoft's macOS cookbook, which uses xcode-install to perform this task. Installation of Xcode itself seems to be fine, but the iOS 12.4 simulators are missing:

# /opt/chef/embedded/bin/xcversion simulators | grep "iOS 12"
iOS 12.0 Simulator (not installed)
iOS 12.1 Simulator (not installed)
iOS 12.2 Simulator (not installed)
# xcodebuild -showsdks | grep iOS 
iOS SDKs:
    iOS 12.4                        -sdk iphoneos12.4
iOS Simulator SDKs:
    Simulator - iOS 12.4            -sdk iphonesimulator12.4
# /opt/chef/embedded/bin/xcversion --version
2.6.0
# xcodebuild -version
Xcode 10.3
Build version 10G8

Does xcode-install need an update for this?

phirk commented 4 years ago

The JSON downloaded from https://devimages-cdn.apple.com/downloads/xcode/simulators/index-10.3.0-#{uuid}.dvtdownloadableindex does not seem to include 12.4?

So we need to wait for Apple? Or did they change the mechanism (again)?

nancy-gomez commented 4 years ago

Seeing this same issue as well with xcversion 2.2.1

Installed Xcode 10.3, the default simulators appear to be missing

phirk commented 1 year ago