Open ncreated opened 3 years ago
Interesting - my version of that file includes this entry:
<dict>
<key>fileSize</key>
<integer>3259109630</integer>
<key>identifier</key>
<string>com.apple.pkg.iPhoneSimulatorSDK$(DOWNLOADABLE_VERSION_MAJOR)_$(DOWNLOADABLE_VERSION_MINOR)</string>
<key>name</key>
<string>iOS $(DOWNLOADABLE_VERSION_MAJOR).$(DOWNLOADABLE_VERSION_MINOR) Simulator</string>
<key>source</key>
<string>https://devimages-cdn.apple.com/downloads/xcode/simulators/$(DOWNLOADABLE_IDENTIFIER)-$(DOWNLOADABLE_VERSION).dmg</string>
<key>userInfo</key>
<dict>
<key>IconType</key>
<string>IDEDownloadablesTypeSimulator</string>
<key>InstallPrefix</key>
<string>/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS $(DOWNLOADABLE_VERSION_MAJOR).$(DOWNLOADABLE_VERSION_MINOR).simruntime</string>
<key>InstalledIfAllReceiptsArePresentOrNewer</key>
<dict>
<key>$(DOWNLOADABLE_IDENTIFIER)</key>
<string>$(DOWNLOADABLE_VERSION)</string>
</dict>
<key>RequiresADCAuthentication</key>
<false/>
<key>SortKey</key>
<string>Xcode.SDK.iPhoneSimulator.15</string>
<key>Xcode.SDKs</key>
<array>
<dict>
<key>CanonicalName</key>
<string>iphonesimulator$(DOWNLOADABLE_VERSION_MAJOR).$(DOWNLOADABLE_VERSION_MINOR)</string>
<key>Path</key>
<string>$(DOWNLOADABLE_INSTALL_PREFIX)/Contents/Resources/RuntimeRoot</string>
<key>Platform</key>
<string>com.apple.platform.iphonesimulator</string>
<key>SupportedDeviceFamilies</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>Version</key>
<string>$(DOWNLOADABLE_VERSION_MAJOR).$(DOWNLOADABLE_VERSION_MINOR)</string>
</dict>
</array>
</dict>
<key>version</key>
<string>13.0.1.1571440502</string>
</dict>
But it's weird, because DOWNLOADABLE_VERSION_MAJOR is replaced with "13" during runtime 🤔 Idk if it's an issue with the contents of that plist, or the strategy has changed drastically, or if I'm getting a different plist than you are... Could you share how you concluded this:
cannot see any iOS 15 Simulator listed there (I can find other and they seem to match my xcversion simulators output).
? 🙏
Hey @rogerluan 👋. I think I was looking at wrong value (I've been only searching for "<string>15"
in this file). When it comes to Xcode.SDK.iPhoneSimulator.15
I can see exactly the same entry as you quoted ☝️. Still, it doesn't list iOS 15 in my xcversion simulators
output 🤔 💭 - does it work for you?
It doesn't, but I'm not sure whether this is an issue in Xcode 13's .plist (unlikely), or just the fact that that API doesn't return the up-to-date list of simulators. I honestly don't understand how that API work 🤔
Hello 👋. I have Xcode 13.0 (13A233) installed, with iOS 15.0 Simulators available, but when I run:
they are not listed:
The Xcode installation is properly recognised:
With
xcrun simctl list runtimes
I can see the runtime:and devices:
but no luck with
xcode-install
.I tried doing some troubleshooting, browsing
xcode-install
code led me to this URL: https://github.com/xcpretty/xcode-install/blob/eeb8a075aeb83e6d2bece2d09f01394f147a4b00/lib/xcode/install.rb#L663When I explore this resource (by putting my Xcode version and UUID), I cannot see any iOS 15 Simulator listed there (I can find other and they seem to match my
xcversion simulators
output).PS. I love
xcode-install
❤️ and it takes a crucial place in our tests automation.