diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/xcodes.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/xcodes.xcscheme index cfe6296..643d41e 100644 --- a/.swiftpm/xcode/xcshareddata/xcschemes/xcodes.xcscheme +++ b/.swiftpm/xcode/xcshareddata/xcschemes/xcodes.xcscheme @@ -128,12 +128,12 @@ isEnabled = "NO"> + argument = "runtimes install "visionOS 1.0-beta1"" + isEnabled = "YES"> + isEnabled = "NO"> Download a release -Download the latest release from the [Releases](https://github.com/RobotsAndPencils/xcodes/releases) page. These are Developer ID-signed release builds and don't require Xcode to already be installed in order to use. +Download the latest release from the [Releases](https://github.com/XcodesOrg/xcodes/releases) page. These are Developer ID-signed release builds and don't require Xcode to already be installed in order to use.
Using Mint ```sh -mint install RobotsAndPencils/xcodes +mint install XcodesOrg/xcodes ```
@@ -41,7 +45,7 @@ mint install RobotsAndPencils/xcodes Building from source requires Xcode 12.0 or later, so it's not an option for setting up a computer from scratch. ```sh -git clone https://github.com/RobotsAndPencils/xcodes +git clone https://github.com/XcodesOrg/xcodes cd xcodes make install # or, if /usr/local/ isn't in your PATH @@ -60,6 +64,8 @@ If that occurs, it means you need to select a version of Xcode. You can do this ## Usage +### Install Xcode : + Install a specific version of Xcode using a command like one of these: ```sh @@ -95,6 +101,20 @@ If you have [aria2](https://aria2.github.io) installed (it's available in Homebr Xcode will be installed to /Applications by default, but you can provide the path to a different directory with the `--directory` option or the `XCODES_DIRECTORY` environment variable. All of the xcodes commands support this option, like `select` and `uninstall`, so you can manage Xcode versions that aren't in /Applications. xcodes supports having all of your Xcode versions installed in _one_ directory, wherever that may be. +### Install Runtimes : + +Run this command line to display the available runtimes + +```sh +xcodes runtimes --include-betas +``` + +Install the wanted Runtime (ex. iOS 17.0-beta1) + +```sh +xcodes runtimes install "iOS 17.0-beta1" +``` + ### `.xcode-version` We recommend the creation of a `.xcode-version` file to explicitly declare and store the Xcode version to be used by your CI environment as well as your team. @@ -197,7 +217,7 @@ git push --follow-tags # Add the xcodes.zip and xcodes-$VERSION.mojave.tar.gz files to the release # Publish the release -# Update the Homebrew Bottle: https://github.com/RobotsAndPencils/homebrew-made/blob/master/Formula/xcodes.rb +# Update the Homebrew Bottle: https://github.com/XcodesOrg/homebrew-made/blob/master/Formula/xcodes.rb ``` @@ -206,10 +226,6 @@ Notable design decisions are recorded in [DECISIONS.md](./DECISIONS.md). The App [`xcode-install`](https://github.com/xcpretty/xcode-install) and [fastlane/spaceship](https://github.com/fastlane/fastlane/tree/master/spaceship) both deserve credit for figuring out the hard parts of what makes this possible. -## Contact - - - -Made with ❤️ by [Robots & Pencils](http://www.robotsandpencils.com) +## Maintainers -[Twitter](https://twitter.com/robotsNpencils) | [GitHub](https://github.com/robotsandpencils) +[Matt Kiazyk](https://github.com/mattkiazyk) - [Twitter](https://www.twitter.com/mattkiazyk) diff --git a/Sources/XcodesKit/Models+Runtimes.swift b/Sources/XcodesKit/Models+Runtimes.swift index 7c3966a..6463569 100644 --- a/Sources/XcodesKit/Models+Runtimes.swift +++ b/Sources/XcodesKit/Models+Runtimes.swift @@ -86,6 +86,7 @@ extension DownloadableRuntime { case macOS = "com.apple.platform.macosx" case watchOS = "com.apple.platform.watchos" case tvOS = "com.apple.platform.appletvos" + case visionOS = "com.apple.platform.xros" var order: Int { switch self { @@ -93,6 +94,7 @@ extension DownloadableRuntime { case .macOS: return 2 case .watchOS: return 3 case .tvOS: return 4 + case .visionOS: return 5 } } @@ -102,6 +104,7 @@ extension DownloadableRuntime { case .macOS: return "macOS" case .watchOS: return "watchOS" case .tvOS: return "tvOS" + case .visionOS: return "visionOS" } } } @@ -134,12 +137,14 @@ extension InstalledRuntime { case tvOS = "com.apple.platform.appletvsimulator" case iOS = "com.apple.platform.iphonesimulator" case watchOS = "com.apple.platform.watchsimulator" + case visionOS = "com.apple.platform.xrsimulator" var asPlatformOS: DownloadableRuntime.Platform { switch self { case .watchOS: return .watchOS case .iOS: return .iOS case .tvOS: return .tvOS + case .visionOS: return .visionOS } } } diff --git a/Sources/XcodesKit/Version.swift b/Sources/XcodesKit/Version.swift index 389622b..6368cfc 100644 --- a/Sources/XcodesKit/Version.swift +++ b/Sources/XcodesKit/Version.swift @@ -1,3 +1,3 @@ import Version -public let version = Version("1.3.0")! +public let version = Version("1.4.1")! diff --git a/Tests/XcodesKitTests/Fixtures/DownloadableRuntimes.plist b/Tests/XcodesKitTests/Fixtures/DownloadableRuntimes.plist index fbec1f7..4229254 100644 --- a/Tests/XcodesKitTests/Fixtures/DownloadableRuntimes.plist +++ b/Tests/XcodesKitTests/Fixtures/DownloadableRuntimes.plist @@ -148,7 +148,7 @@ arm64 maxHostVersion - 12.99.0 + 12.99 identifier com.apple.pkg.WatchSimulatorSDK6_0 @@ -312,7 +312,7 @@ arm64 maxHostVersion - 12.99.0 + 12.99 identifier com.apple.pkg.WatchSimulatorSDK6_1 @@ -439,6 +439,11 @@ 1587361125 identifier com.apple.pkg.AppleTVSimulatorSDK13_4 + hostRequirements + + maxHostVersion + 12.99 + name tvOS 13.4 Simulator platform @@ -470,6 +475,8 @@ arm64 + maxHostVersion + 12.99 identifier com.apple.pkg.WatchSimulatorSDK6_2 @@ -530,6 +537,11 @@ 2 fileSize 3373020521 + hostRequirements + + maxHostVersion + 12.99 + identifier com.apple.pkg.iPhoneSimulatorSDK13_7 name @@ -557,6 +569,11 @@ 2 fileSize 4713624934 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.iPhoneSimulatorSDK14_0 name @@ -611,6 +628,11 @@ 2 fileSize 4879693158 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.iPhoneSimulatorSDK14_1 name @@ -638,6 +660,11 @@ 2 fileSize 2558604649 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.AppleTVSimulatorSDK14_0 name @@ -665,6 +692,11 @@ 2 fileSize 4913771875 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.iPhoneSimulatorSDK14_2 name @@ -719,6 +751,11 @@ 2 fileSize 2582001001 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.AppleTVSimulatorSDK14_2 name @@ -746,6 +783,11 @@ 2 fileSize 2641311079 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.AppleTVSimulatorSDK14_3 name @@ -773,6 +815,11 @@ 2 fileSize 4995102054 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.iPhoneSimulatorSDK14_3 name @@ -831,6 +878,8 @@ minHostVersion 12.0 + maxHostVersion + 13.99 minXcodeVersion 13.0 @@ -861,6 +910,11 @@ 2 fileSize 2641114477 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.AppleTVSimulatorSDK14_4 name @@ -888,6 +942,11 @@ 2 fileSize 2680763745 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.AppleTVSimulatorSDK14_5 name @@ -915,6 +974,11 @@ 2 fileSize 5038290278 + hostRequirements + + maxHostVersion + 13.99 + identifier com.apple.pkg.iPhoneSimulatorSDK14_5 name @@ -1231,6 +1295,8 @@ 15.5.1.1653527639 + authentication + virtual category simulator contentType @@ -1238,26 +1304,28 @@ dictionaryVersion 2 fileSize - 3221390293 + 3304605822 identifier - com.apple.dmg.AppleTVSimulatorSDK16_0b1 + com.apple.dmg.AppleTVSimulatorSDK16_0 name - tvOS 16 beta Simulator Runtime + tvOS 16 Simulator Runtime platform com.apple.platform.appletvos simulatorVersion buildUpdate - 20J5299n + 20J373 version 16.0 source - https://devimages-cdn.apple.com/downloads/xcode/simulators/tvOS%2016%20beta%20Simulator%20Runtime.dmg + https://download.developer.apple.com/Developer_Tools/tvOS_16_Simulator_Runtime/tvOS_16_Simulator_Runtime.dmg version - 16.0.0.1 + 16.0.0.0 + authentication + virtual category simulator contentType @@ -1265,26 +1333,28 @@ dictionaryVersion 2 fileSize - 3085745062 + 3604135917 identifier - com.apple.dmg.WatchSimulatorSDK9_0b1 + com.apple.dmg.WatchSimulatorSDK9_0 name - watchOS 9 beta Simulator Runtime + watchOS 9 Simulator Runtime platform com.apple.platform.watchos simulatorVersion buildUpdate - 20R5287p + 20R362 version 9.0 source - https://devimages-cdn.apple.com/downloads/xcode/simulators/watchOS%209%20beta%20Simulator%20Runtime.dmg + https://download.developer.apple.com/Developer_Tools/watchOS_9_Simulator_Runtime/watchOS_9_Simulator_Runtime.dmg version - 9.0.0.1 + 9.0.0.0 + authentication + virtual category simulator contentType @@ -1292,26 +1362,28 @@ dictionaryVersion 2 fileSize - 3337749440 + 6280680540 identifier - com.apple.dmg.AppleTVSimulatorSDK16_0b2 + com.apple.dmg.iPhoneSimulatorSDK16_0 name - tvOS 16 beta 2 Simulator Runtime + iOS 16 Simulator Runtime platform - com.apple.platform.appletvos + com.apple.platform.iphoneos simulatorVersion buildUpdate - 20J5319f + 20A360 version 16.0 source - https://devimages-cdn.apple.com/downloads/xcode/simulators/tvOS%2016%20beta%202%20Simulator%20Runtime.dmg + https://download.developer.apple.com/Developer_Tools/iOS_16_Simulator_Runtime/iOS_16_Simulator_Runtime.dmg version - 16.0.0.2 + 16.0.0.0 + authentication + virtual category simulator contentType @@ -1319,26 +1391,28 @@ dictionaryVersion 2 fileSize - 3197699949 + 3363890340 identifier - com.apple.dmg.WatchSimulatorSDK9_0b2 + com.apple.dmg.AppleTVSimulatorSDK16_1 name - watchOS 9 beta 2 Simulator Runtime + tvOS 16.1 Simulator Runtime platform - com.apple.platform.watchos + com.apple.platform.appletvos simulatorVersion buildUpdate - 20R5307f + 20K67 version - 9.0 + 16.1 source - https://devimages-cdn.apple.com/downloads/xcode/simulators/watchOS%209%20beta%202%20Simulator%20Runtime.dmg + https://download.developer.apple.com/Developer_Tools/tvOS_16.1_Simulator_Runtime/tvOS_16.1_Simulator_Runtime.dmg version - 9.0.0.2 + 16.1.0.0 + authentication + virtual category simulator contentType @@ -1346,26 +1420,28 @@ dictionaryVersion 2 fileSize - 3298800785 + 3627381860 identifier - com.apple.dmg.AppleTVSimulatorSDK16_0b3 + com.apple.dmg.WatchSimulatorSDK9_1 name - tvOS 16 beta 3 Simulator Runtime + watchOS 9.1 Simulator Runtime platform - com.apple.platform.appletvos + com.apple.platform.watchos simulatorVersion buildUpdate - 20J5328e + 20S75 version - 16.0 + 9.1 source - https://devimages-cdn.apple.com/downloads/xcode/simulators/tvOS%2016%20beta%203%20Simulator%20Runtime.dmg + https://download.developer.apple.com/Developer_Tools/watchOS_9.1_Simulator_Runtime/watchOS_9.1_Simulator_Runtime.dmg version - 16.0.0.3 + 9.1.0.0 + authentication + virtual category simulator contentType @@ -1373,24 +1449,24 @@ dictionaryVersion 2 fileSize - 3242624768 + 6325927910 identifier - com.apple.dmg.WatchSimulatorSDK9_0b3 + com.apple.dmg.iPhoneSimulatorSDK16_1 name - watchOS 9 beta 3 Simulator Runtime + iOS 16.1 Simulator Runtime platform - com.apple.platform.watchos + com.apple.platform.iphoneos simulatorVersion buildUpdate - 20R5316e + 20B72 version - 9.0 + 16.1 source - https://devimages-cdn.apple.com/downloads/xcode/simulators/watchOS%209%20beta%203%20Simulator%20Runtime.dmg + https://download.developer.apple.com/Developer_Tools/iOS_16.1_Simulator_Runtime/iOS_16.1_Simulator_Runtime.dmg version - 9.0.0.3 + 16.1.0.0 authentication @@ -1402,24 +1478,24 @@ dictionaryVersion 2 fileSize - 3278650917 + 6407069874 identifier - com.apple.dmg.AppleTVSimulatorSDK16_0b4 + com.apple.dmg.iPhoneSimulatorSDK16_2 name - tvOS 16 beta 4 Simulator Runtime + iOS 16.2 Simulator Runtime platform - com.apple.platform.appletvos + com.apple.platform.iphoneos simulatorVersion buildUpdate - 20J5344e + 20C52 version - 16.0 + 16.2 source - https://download.developer.apple.com/Developer_Tools/tvOS_16_beta_4_Simulator_Runtime/tvOS_16_beta_4_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/iOS_16.2_Simulator_Runtime/iOS_16.2_Simulator_Runtime.dmg version - 16.0.0.4 + 16.2.0.0 authentication @@ -1431,24 +1507,24 @@ dictionaryVersion 2 fileSize - 3228397551 + 3457045786 identifier - com.apple.dmg.WatchSimulatorSDK9_0b4 + com.apple.dmg.AppleTVSimulatorSDK16_4 name - watchOS 9 beta 4 Simulator Runtime + tvOS 16.4 Simulator Runtime platform - com.apple.platform.watchos + com.apple.platform.appletvos simulatorVersion buildUpdate - 20R5332f + 20L494 version - 9.0 + 16.4 source - https://download.developer.apple.com/Developer_Tools/watchOS_9_beta_4_Simulator_Runtime/watchOS_9_beta_4_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/tvOS_16.4_Simulator_Runtime/tvOS_16.4_Simulator_Runtime.dmg version - 9.0.0.4 + 16.4.0.0 authentication @@ -1460,24 +1536,24 @@ dictionaryVersion 2 fileSize - 3300627519 + 3597497121 identifier - com.apple.dmg.AppleTVSimulatorSDK16_0b5 + com.apple.dmg.WatchSimulatorSDK9_4 name - tvOS 16 beta 5 Simulator Runtime + watchOS 9.4 Simulator Runtime platform - com.apple.platform.appletvos + com.apple.platform.watchos simulatorVersion buildUpdate - 20J5355f + 20T253 version - 16.0 + 9.4 source - https://download.developer.apple.com/Developer_Tools/tvOS_16_beta_5_Simulator_Runtime/tvOS_16_beta_5_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/watchOS_9.4_Simulator_Runtime/watchOS_9.4_Simulator_Runtime.dmg version - 16.0.0.5 + 9.4.0.0 authentication @@ -1489,24 +1565,24 @@ dictionaryVersion 2 fileSize - 3231273872 + 6182486138 identifier - com.apple.dmg.WatchSimulatorSDK9_0b5 + com.apple.dmg.iPhoneSimulatorSDK16_4 name - watchOS 9 beta 5 Simulator Runtime + iOS 16.4 Simulator Runtime platform - com.apple.platform.watchos + com.apple.platform.iphoneos simulatorVersion buildUpdate - 20R5343e + 20E247 version - 9.0 + 16.4 source - https://download.developer.apple.com/Developer_Tools/watchOS_9_beta_5_Simulator_Runtime/watchOS_9_beta_5_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/iOS_16.4_Simulator_Runtime/iOS_16.4_Simulator_Runtime.dmg version - 9.0.0.5 + 16.4.0.0 authentication @@ -1518,24 +1594,24 @@ dictionaryVersion 2 fileSize - 3304605822 + 3717677009 identifier - com.apple.dmg.AppleTVSimulatorSDK16_0 + com.apple.dmg.AppleTVSimulatorSDK17_0_b1 name - tvOS 16 Simulator Runtime + tvOS 17.0 beta Simulator Runtime platform com.apple.platform.appletvos simulatorVersion buildUpdate - 20J373 + 21J5273p version - 16.0 + 17.0 source - https://download.developer.apple.com/Developer_Tools/tvOS_16_Simulator_Runtime/tvOS_16_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/tvOS_17_beta/tvOS_17_beta_Simulator_Runtime.dmg version - 16.0.0.0 + 17.0.0.1 authentication @@ -1547,24 +1623,24 @@ dictionaryVersion 2 fileSize - 3604135917 + 3912372147 identifier - com.apple.dmg.WatchSimulatorSDK9_0 + com.apple.dmg.WatchSimulatorSDK10_0_b1 name - watchOS 9 Simulator Runtime + watchOS 10.0 beta Simulator Runtime platform com.apple.platform.watchos simulatorVersion buildUpdate - 20R362 + 21R5275s version - 9.0 + 10.0 source - https://download.developer.apple.com/Developer_Tools/watchOS_9_Simulator_Runtime/watchOS_9_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/watchOS_10_beta/watchOS_10_beta_Simulator_Runtime.dmg version - 9.0.0.0 + 10.0.0.1 authentication @@ -1576,24 +1652,24 @@ dictionaryVersion 2 fileSize - 6280680540 + 7534187147 identifier - com.apple.dmg.iPhoneSimulatorSDK16_0 + com.apple.dmg.iPhoneSimulatorSDK17_0_b1 name - iOS 16 Simulator Runtime + iOS 17.0 beta Simulator Runtime platform com.apple.platform.iphoneos simulatorVersion buildUpdate - 20A360 + 21A5248u version - 16.0 + 17.0 source - https://download.developer.apple.com/Developer_Tools/iOS_16_Simulator_Runtime/iOS_16_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/iOS_17_beta/iOS_17_beta_Simulator_Runtime.dmg version - 16.0.0.0 + 17.0.0.1 authentication @@ -1605,24 +1681,24 @@ dictionaryVersion 2 fileSize - 3326848916 + 3729832117 identifier - com.apple.dmg.AppleTVSimulatorSDK16_1_b1 + com.apple.dmg.AppleTVSimulatorSDK17_0_b2 name - tvOS 16.1 Simulator Runtime Beta + tvOS 17.0 beta 2 Simulator Runtime platform com.apple.platform.appletvos simulatorVersion buildUpdate - 20K5041d + 21J5293g version - 16.1 + 17.0 source - https://download.developer.apple.com/Developer_Tools/tvOS_16.1_beta_Simulator_Runtime/tvOS_16.1_beta_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/tvOS_17_beta_2/tvOS_17_beta_2_Simulator_Runtime.dmg version - 16.1.0.1 + 17.0.0.2 authentication @@ -1634,26 +1710,91 @@ dictionaryVersion 2 fileSize - 3619633292 + 3932198802 identifier - com.apple.dmg.WatchSimulatorSDK9_1_b1 + com.apple.dmg.WatchSimulatorSDK10_0_b2 name - watchOS 9.1 Simulator Runtime Beta + watchOS 10.0 beta 2 Simulator Runtime platform com.apple.platform.watchos simulatorVersion buildUpdate - 20S5044e + 21R5295g version - 9.1 + 10.0 source - https://download.developer.apple.com/Developer_Tools/watchOS_9.1_beta_Simulator_Runtime/watchOS_9.1_beta_Simulator_Runtime.dmg + https://download.developer.apple.com/Developer_Tools/watchOS_10_beta_2/watchOS_10_beta_2_Simulator_Runtime.dmg version - 9.1.0.1 + 10.0.0.2 - + + authentication + virtual + category + simulator + contentType + diskImage + dictionaryVersion + 2 + fileSize + 7529869240 + identifier + com.apple.dmg.iPhoneSimulatorSDK17_0_b2 + name + iOS 17.0 beta 2 Simulator Runtime + platform + com.apple.platform.iphoneos + simulatorVersion + + buildUpdate + 21A5268h + version + 17.0 + + source + https://download.developer.apple.com/Developer_Tools/iOS_17_beta_2/iOS_17_beta_2_Simulator_Runtime.dmg + version + 17.0.0.2 + + + authentication + virtual + category + simulator + contentType + diskImage + dictionaryVersion + 2 + fileSize + 7354535384 + hostRequirements + + minHostVersion + 13.4 + minXcodeVersion + 15.0 + + identifier + com.apple.dmg.xrSimulatorSDK1_0_b1 + name + xrOS 1 beta Simulator Runtime + platform + com.apple.platform.xros + simulatorVersion + + buildUpdate + 21N5165g + version + 1.0 + + source + https://download.developer.apple.com/Developer_Tools/visionOS_1_beta/visionOS_1_beta_Simulator_Runtime.dmg + version + 1.0.0.1 + + refreshInterval 86400 sdkToSeedMappings @@ -1858,64 +1999,312 @@ seedNumber 1 - - sdkToSimulatorMappings - - sdkBuildUpdate - 19E239 - sdkIdentifier - iphoneos15.4 - simulatorBuildUpdate - 19E240 + buildUpdate + 22A5358d + platform + com.apple.platform.macosx + seedNumber + 3 - sdkBuildUpdate - 19F64 - sdkIdentifier - iphoneos15.5 - simulatorBuildUpdate - 19F70 + buildUpdate + 20B5056e + platform + com.apple.platform.iphoneos + seedNumber + 3 - sdkBuildUpdate - 20A5283m - sdkIdentifier - iphoneos16.0 - simulatorBuildUpdate - 20A5283p + buildUpdate + 20K5052c + platform + com.apple.platform.appletvos + seedNumber + 3 - sdkBuildUpdate - 20J5299n - sdkIdentifier - appletvos16.0 - simulatorBuildUpdate - 20J5299n + buildUpdate + 20S5055d + platform + com.apple.platform.watchos + seedNumber + 3 - sdkBuildUpdate - 20R5287p - sdkIdentifier - watchos9.0 - simulatorBuildUpdate - 20R5287p + buildUpdate + 20S5055e + platform + com.apple.platform.watchos + seedNumber + 3 - sdkBuildUpdate - 20A5303f - sdkIdentifier - iphoneos16.0 - simulatorBuildUpdate - 20A5303f + buildUpdate + 22E5219e + platform + com.apple.platform.macosx + seedNumber + 1 - sdkBuildUpdate - 20J5319f - sdkIdentifier - appletvos16.0 - simulatorBuildUpdate - 20J5319f + buildUpdate + 20E5212f + platform + com.apple.platform.iphoneos + seedNumber + 1 + + + buildUpdate + 20L5463g + platform + com.apple.platform.appletvos + seedNumber + 1 + + + buildUpdate + 20T5222f + platform + com.apple.platform.watchos + seedNumber + 1 + + + buildUpdate + 22E5230e + platform + com.apple.platform.macosx + seedNumber + 2 + + + buildUpdate + 20E5223f + platform + com.apple.platform.iphoneos + seedNumber + 2 + + + buildUpdate + 20L5474e + platform + com.apple.platform.appletvos + seedNumber + 2 + + + buildUpdate + 20T5233d + platform + com.apple.platform.watchos + seedNumber + 2 + + + buildUpdate + 22E5245a + platform + com.apple.platform.macosx + seedNumber + 3 + + + buildUpdate + 20E5238a + platform + com.apple.platform.iphoneos + seedNumber + 3 + + + buildUpdate + 20E5239a + platform + com.apple.platform.iphoneos + seedNumber + 3 + + + buildUpdate + 20L5489a + platform + com.apple.platform.appletvos + seedNumber + 3 + + + buildUpdate + 20T5248a + platform + com.apple.platform.watchos + seedNumber + 3 + + + buildUpdate + 23A5257p + platform + com.apple.platform.macosx + seedNumber + 1 + + + buildUpdate + 21A5248u + platform + com.apple.platform.iphoneos + seedNumber + 1 + + + buildUpdate + 21J5273p + platform + com.apple.platform.appletvos + seedNumber + 1 + + + buildUpdate + 21R5275s + platform + com.apple.platform.watchos + seedNumber + 1 + + + buildUpdate + 23A5276e + platform + com.apple.platform.macosx + seedNumber + 2 + + + buildUpdate + 21A5268f + platform + com.apple.platform.iphoneos + seedNumber + 2 + + + buildUpdate + 21J5293e + platform + com.apple.platform.appletvos + seedNumber + 2 + + + buildUpdate + 21R5295e + platform + com.apple.platform.watchos + seedNumber + 2 + + + buildUpdate + 21N5165f + platform + com.apple.platform.xros + seedNumber + 1 + + + buildUpdate + 21A5268h + platform + com.apple.platform.iphoneos + seedNumber + 2 + + + buildUpdate + 21J5293g + platform + com.apple.platform.appletvos + seedNumber + 2 + + + buildUpdate + 21R5295g + platform + com.apple.platform.watchos + seedNumber + 2 + + + buildUpdate + 21N5165g + platform + com.apple.platform.xros + seedNumber + 1 + + + sdkToSimulatorMappings + + + sdkBuildUpdate + 19E239 + sdkIdentifier + iphoneos15.4 + simulatorBuildUpdate + 19E240 + + + sdkBuildUpdate + 19F64 + sdkIdentifier + iphoneos15.5 + simulatorBuildUpdate + 19F70 + + + sdkBuildUpdate + 20A5283m + sdkIdentifier + iphoneos16.0 + simulatorBuildUpdate + 20A5283p + + + sdkBuildUpdate + 20J5299n + sdkIdentifier + appletvos16.0 + simulatorBuildUpdate + 20J5299n + + + sdkBuildUpdate + 20R5287p + sdkIdentifier + watchos9.0 + simulatorBuildUpdate + 20R5287p + + + sdkBuildUpdate + 20A5303f + sdkIdentifier + iphoneos16.0 + simulatorBuildUpdate + 20A5303f + + + sdkBuildUpdate + 20J5319f + sdkIdentifier + appletvos16.0 + simulatorBuildUpdate + 20J5319f sdkBuildUpdate @@ -2045,6 +2434,214 @@ simulatorBuildUpdate 20S5044e + + sdkBuildUpdate + 20B5056e + sdkIdentifier + iphoneos16.1 + simulatorBuildUpdate + 20B5056e + + + sdkBuildUpdate + 20K5052c + sdkIdentifier + appletvos16.1 + simulatorBuildUpdate + 20K5052c + + + sdkBuildUpdate + 20S5055d + sdkIdentifier + watchos9.1 + simulatorBuildUpdate + 20S5055e + + + sdkBuildUpdate + 20B71 + sdkIdentifier + iphoneos16.1 + simulatorBuildUpdate + 20B72 + + + sdkBuildUpdate + 20K67 + sdkIdentifier + appletvos16.1 + simulatorBuildUpdate + 20K67 + + + sdkBuildUpdate + 20S71 + sdkIdentifier + watchos9.1 + simulatorBuildUpdate + 20S75 + + + sdkBuildUpdate + 20C52 + sdkIdentifier + iphoneos16.2 + simulatorBuildUpdate + 20C52 + + + sdkBuildUpdate + 20E5212f + sdkIdentifier + iphoneos16.4 + simulatorBuildUpdate + 20E5212f + + + sdkBuildUpdate + 20L5463g + sdkIdentifier + appletvos16.4 + simulatorBuildUpdate + 20L5463g + + + sdkBuildUpdate + 20T5222f + sdkIdentifier + watchos9.4 + simulatorBuildUpdate + 20T5222f + + + sdkBuildUpdate + 20E5223f + sdkIdentifier + iphoneos16.4 + simulatorBuildUpdate + 20E5223f + + + sdkBuildUpdate + 20L5474e + sdkIdentifier + appletvos16.4 + simulatorBuildUpdate + 20L5474e + + + sdkBuildUpdate + 20T5233d + sdkIdentifier + watchos9.4 + simulatorBuildUpdate + 20T5233d + + + sdkBuildUpdate + 20E5238a + sdkIdentifier + iphoneos16.4 + simulatorBuildUpdate + 20E5239a + + + sdkBuildUpdate + 20L5489a + sdkIdentifier + appletvos16.4 + simulatorBuildUpdate + 20L5489a + + + sdkBuildUpdate + 20T5248a + sdkIdentifier + watchos9.4 + simulatorBuildUpdate + 20T5248a + + + sdkBuildUpdate + 20E238 + sdkIdentifier + iphoneos16.4 + simulatorBuildUpdate + 20E247 + + + sdkBuildUpdate + 20L489 + sdkIdentifier + appletvos16.4 + simulatorBuildUpdate + 20L494 + + + sdkBuildUpdate + 20T248 + sdkIdentifier + watchos9.4 + simulatorBuildUpdate + 20T253 + + + sdkBuildUpdate + 21A5248u + sdkIdentifier + iphoneos17.0 + simulatorBuildUpdate + 21A5248u + + + sdkBuildUpdate + 21J5273p + sdkIdentifier + appletvos17.0 + simulatorBuildUpdate + 21J5273p + + + sdkBuildUpdate + 21R5275s + sdkIdentifier + watchos10.0 + simulatorBuildUpdate + 21R5275s + + + sdkBuildUpdate + 21A5268f + sdkIdentifier + iphoneos17.0 + simulatorBuildUpdate + 21A5268h + + + sdkBuildUpdate + 21J5293e + sdkIdentifier + appletvos17.0 + simulatorBuildUpdate + 21J5293g + + + sdkBuildUpdate + 21R5295e + sdkIdentifier + watchos10.0 + simulatorBuildUpdate + 21R5295g + + + sdkBuildUpdate + 21N5165f + sdkIdentifier + xros1.0 + simulatorBuildUpdate + 21N5165g + version 2 diff --git a/Tests/XcodesKitTests/Fixtures/LogOutput-Runtime_NoBetas.txt b/Tests/XcodesKitTests/Fixtures/LogOutput-Runtime_NoBetas.txt index 336bf0e..de3babf 100644 --- a/Tests/XcodesKitTests/Fixtures/LogOutput-Runtime_NoBetas.txt +++ b/Tests/XcodesKitTests/Fixtures/LogOutput-Runtime_NoBetas.txt @@ -20,6 +20,9 @@ iOS 15.4 iOS 15.5 (Bundled with selected Xcode) iOS 15.5 (Installed) iOS 16.0 +iOS 16.1 +iOS 16.2 +iOS 16.4 -- watchOS -- watchOS 6.0 watchOS 6.1.1 @@ -34,6 +37,8 @@ watchOS 8.5 (Bundled with selected Xcode) watchOS 9.0-beta4 (Installed) watchOS 9.0 (20R362) watchOS 9.0 (UnknownBuildNumber) (Installed) +watchOS 9.1 +watchOS 9.4 -- tvOS -- tvOS 12.4 tvOS 13.0 @@ -49,5 +54,8 @@ tvOS 15.0 tvOS 15.2 tvOS 15.4 (Bundled with selected Xcode) tvOS 16.0 +tvOS 16.1 +tvOS 16.4 +-- visionOS -- Note: Bundled runtimes are indicated for the currently selected Xcode, more bundled runtimes may exist in other Xcode(s) diff --git a/Tests/XcodesKitTests/Fixtures/LogOutput-Runtimes.txt b/Tests/XcodesKitTests/Fixtures/LogOutput-Runtimes.txt index b577471..591f086 100644 --- a/Tests/XcodesKitTests/Fixtures/LogOutput-Runtimes.txt +++ b/Tests/XcodesKitTests/Fixtures/LogOutput-Runtimes.txt @@ -20,6 +20,11 @@ iOS 15.4 iOS 15.5 (Bundled with selected Xcode) iOS 15.5 (Installed) iOS 16.0 +iOS 16.1 +iOS 16.2 +iOS 16.4 +iOS 17.0-beta1 +iOS 17.0-beta2 -- watchOS -- watchOS 6.0 watchOS 6.1.1 @@ -31,14 +36,13 @@ watchOS 7.4 watchOS 8.0 watchOS 8.3 watchOS 8.5 (Bundled with selected Xcode) -watchOS 9.0-beta1 -watchOS 9.0-beta2 -watchOS 9.0-beta3 watchOS 9.0-beta4 (Installed) -watchOS 9.0-beta5 watchOS 9.0 (20R362) watchOS 9.0 (UnknownBuildNumber) (Installed) -watchOS 9.1-beta1 +watchOS 9.1 +watchOS 9.4 +watchOS 10.0-beta1 +watchOS 10.0-beta2 -- tvOS -- tvOS 12.4 tvOS 13.0 @@ -53,12 +57,12 @@ tvOS 14.5 tvOS 15.0 tvOS 15.2 tvOS 15.4 (Bundled with selected Xcode) -tvOS 16.0-beta1 -tvOS 16.0-beta2 -tvOS 16.0-beta3 -tvOS 16.0-beta4 -tvOS 16.0-beta5 tvOS 16.0 -tvOS 16.1-beta1 +tvOS 16.1 +tvOS 16.4 +tvOS 17.0-beta1 +tvOS 17.0-beta2 +-- visionOS -- +visionOS 1.0-beta1 Note: Bundled runtimes are indicated for the currently selected Xcode, more bundled runtimes may exist in other Xcode(s) diff --git a/Tests/XcodesKitTests/RuntimeTests.swift b/Tests/XcodesKitTests/RuntimeTests.swift index 2519138..314761a 100644 --- a/Tests/XcodesKitTests/RuntimeTests.swift +++ b/Tests/XcodesKitTests/RuntimeTests.swift @@ -80,14 +80,14 @@ final class RuntimeTests: XCTestCase { func test_downloadableRuntimes() async throws { mockDownloadables() let values = try await runtimeList.downloadableRuntimes().downloadables - XCTAssertEqual(values.count, 57) + XCTAssertEqual(values.count, 59) } func test_downloadableRuntimesNoBetas() async throws { mockDownloadables() let values = try await runtimeList.downloadableRuntimes().downloadables.filter { $0.betaNumber == nil } XCTAssertFalse(values.contains { $0.name.lowercased().contains("beta") }) - XCTAssertEqual(values.count, 45) + XCTAssertEqual(values.count, 52) } func test_printAvailableRuntimes() async throws { diff --git a/nextstep.md b/nextstep.md new file mode 100644 index 0000000..79aa13d --- /dev/null +++ b/nextstep.md @@ -0,0 +1,15 @@ +## The next step + +As Xcodes continues to grow beyond a small little utility used by Apple Developers all over the world to make their lives easier when it comes to downloading, managing and saving their sanity with Xcode, it was time to move the repo away from Robots and Pencils and into it's own managed org. + +Starting April 21, 2023, all Xcodes repos are now contained under the `XcodesOrg` organization. https://github.com/XcodesOrg + +This change will have no effect on the tools at all, but allows the utilites to grow to the next level. I'm (Matt Kiazyk) still the owner and current sole maintainer, and have no plans to stop. + +Xcodes would not be where it is without contributors over the years. It would also not be where it is without each and every one of you sharing the tool. + +So from myself - thank you! + +Matt Kiazyk - maintainer +@XcodesApp +@mattkiazyk \ No newline at end of file