Repository navigation
1.0.0-beta.4
Pre-release
Pre-release
What's Changed
- Update SimulatorServices.yml by @leogdion in #26
- Add Claude Code GitHub Workflow by @leogdion in #30
- Breaking: requires Swift 6.4 (
swift-tools-version: 6.4, Swift 6 language mode, Xcode 27.2 or later) and macOS 15.4 (was macOS 13; needed forisolated deinitin the FSEvents watcher). The iOS 16 / Mac Catalyst 16 / watchOS 9 / tvOS 16 / visionOS 1 minimums are unchanged. Stay on 1.1.0-beta.3 if you can't move to Swift 6.4 by @leogdion in #29 - Breaking: typed throws everywhere.
SimCtl.run(_:)throwsSimCtlError, andSubcommand.parse(_:)/recover(_:)are nowthrows(SimCtlError); update customSubcommandconformances to match and wrap other errors in aSimCtlErrorcase.RuntimeID.init(suffix:)andPrefixedDecodableString.init(suffix:)throwDecodingError, andsuffix(forString:)throwsPrefixMismatchErrorby @leogdion in #29 - Breaking:
GetAppContainer.ErrorandList.Errorare removed. CatchSimCtlError.unreadableOutputinstead of.missingData(a simulator without the app's container) or.deocdingError, and readexitCode,standardErrorandreason(.invalidDevice,.invalidState,.noMatchingRuntime,.other) for a failedsimctlby @leogdion in #29 - Breaking: commands run through swift-subprocess instead of
Process. The publicProcess.run(till:)extension andProcessError.timeoutare removed;ProcessErrorgainslaunchFailedandunreadableOutput, and cancelling the calling task terminatessimctland throwsSimCtlError.cancelledby @leogdion in #29 - Breaking:
DeviceStateaddsbootingandshuttingDown, andDeviceTypeIDadds the device types Xcode 27 lists (iPhone 18 Pro, iPhone Air, Apple Watch Ultra 4 (49mm), the M5 iPad Pros and more); add the new cases to exhaustiveswitches by @leogdion in #29 - Add
RuntimeList,RuntimeDelete,DeviceDelete,DeleteUnavailable,Boot,ShutdownandErasesubcommands, andRuntimeImage(withcanDelete,RuntimeImageKindandRuntimeImageState) by @leogdion in #29 - Add
SimCtl(developerDirectory:)andSimCtl.find(developerDirectory:), which runsimctlfrom a chosen Xcode viaDEVELOPER_DIR(macOS) by @leogdion in #29 - Add Xcode discovery and resolution:
XcodeInstallation,XcodeSnapshot,XcodePreference,XcodeResolutionandXcodeLocating, with the liveXcodeLocator(macOS) scanning the application folders, Spotlight andxcode-select -p, and streaming new snapshots through FSEvents (or polling) as Xcodes are added, removed or selected by @leogdion in #29 - Add the
SimCtlCommands/SimCtlDeletionCommandsseam withLiveSimCtlCommands(macOS), so apps can test theirsimctlcalls against a fake by @leogdion in #29 - Add
SimctlSnapshot(one read ofsimctl runtime list -jandsimctl list -j),SimulatorAttribution(which simulators use which installed runtime) andDirectorySizeMeasurer(macOS) by @leogdion in #29 - Add version parsing:
VersionNumber,BuildNumber,MajorMinorVersionandVersionedBuild, compared numerically rather than as strings by @leogdion in #29 - Add
Device.lastUsedAtandavailabilityError,Runtime.availabilityError,RuntimeID.variantandPlatform.displayName(xrOSshows as visionOS); the models areHashableand gain public memberwise initializers by @leogdion in #29 - Write value mappings as data:
RawDefinedtypes areRawMappedwith a singleBidirectionalMaprawOptionstable by @leogdion in #29 - Fix
simctlfailing withCancellationErrorunderxcodebuild test: the variables xcodebuild injects (DYLD_*,__XPC_DYLD_*,XCTest*,XCInjectBundle*) are no longer passed to child processes by @leogdion in #29 - Linux and the non-macOS Apple platforms build the subcommands, models and version parsing; running
simctl,xcode-selectandmdfindand watching for Xcodes stay macOS-only, and the Subprocess dependency is conditioned to macOS by @leogdion in #29 - Tests:
simctland Xcode fixtures recorded from Xcode 27.1 and 27.2; the test bundle builds and signs on iOS, watchOS, tvOS and visionOS; macOS-only suites take.enabled(if: Platform.isMacOS)from a newPlatformtest helper (alongside their#if os(macOS)), and always-true#available(iOS 13.4, *)checks are removed by @leogdion in #29 - CI: Swift 6.4 Linux lanes (
swift:6.4-noble, plusjammyfor PRs intomainor a semver branch), Apple lanes on thexcode-27image with Xcode 27.2, CodeQL, unsafe-flags and cache-cleanup workflows,pull_requesttriggers only; lint tools move from Mint to mise (swift-format 604, SwiftLint 0.65.1, periphery); Codecov and CodeFactor are dropped by @leogdion in #29 - Add
Scripts/docc.shDocC builds (no swift-docc-plugin dependency), a Makefile, a devcontainer, Swift Package Index docs (.spi.yml) and agent files by @leogdion in #29 - Dependencies: add swift-subprocess
from: "1.0.2"(macOS only); OSVer staysfrom: "1.0.0" - Add the Claude Code GitHub workflow by @leogdion in #30
Full Changelog: 1.1.0-beta.3...1.1.0-beta.4