Run a virtual iPhone on an Apple Silicon Mac.
Swift
Release 2.8.0
Lakr65a0e9b27af5
diff --git a/Documents/Downloads/README.md b/Documents/Downloads/README.mdindex e909f18c..7d6fe021 100644--- a/Documents/Downloads/README.md+++ b/Documents/Downloads/README.md@@ -12,6 +12,7 @@ Each [release](https://github.com/Lakr233/vphone-cli/releases) has up to three f| Series | Notarized | Not Notarized || --- | --- | --- |+| 2.8 | 2.8.0 | — || 2.7 | 2.7.0 | — || 2.6 | 2.6.0 | — || 2.5 | 2.5.0 | — |@@ -31,6 +32,7 @@ Use a `VPhone.bundle` from the same series as Launchpad. The series is the first| Launchpad | VPhone.bundle || --- | --- |+| 2.8.x | 2.8.x || 2.7.x | 2.7.x || 2.6.x | 2.6.x || 2.5.x | 2.5.x |diff --git a/VPhoneExecutable/VPhoneVirtualization/Resources/Info.plist b/VPhoneExecutable/VPhoneVirtualization/Resources/Info.plistindex 45c40c7c..c9d58434 100644--- a/VPhoneExecutable/VPhoneVirtualization/Resources/Info.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/Info.plist@@ -9,9 +9,9 @@<key>CFBundlePackageType</key><string>BNDL</string><key>CFBundleVersion</key>- <string>34</string>+ <string>35</string><key>CFBundleShortVersionString</key>- <string>2.7.0</string>+ <string>2.8.0</string><key>NSMicrophoneUsageDescription</key><string>Shares this Mac's microphone with the virtual iPhone so apps running inside it can record.</string></dict>diff --git a/VPhoneLaunchpad/Configuration/Version.xcconfig b/VPhoneLaunchpad/Configuration/Version.xcconfigindex b262dbe1..5bc48b7c 100644--- a/VPhoneLaunchpad/Configuration/Version.xcconfig+++ b/VPhoneLaunchpad/Configuration/Version.xcconfig@@ -1,4 +1,4 @@-MARKETING_VERSION = 2.7.0+MARKETING_VERSION = 2.8.0// Bump whenever the helper changes. The app blesses the helper again when the// installed helper's version or bytes differ from the copy it embeds.CURRENT_PROJECT_VERSION = 15diff --git a/VPhoneLaunchpad/Tests/BundleNamesTests.swift b/VPhoneLaunchpad/Tests/BundleNamesTests.swiftindex c9d1a738..80a709da 100644--- a/VPhoneLaunchpad/Tests/BundleNamesTests.swift+++ b/VPhoneLaunchpad/Tests/BundleNamesTests.swift@@ -17,14 +17,14 @@ struct BundleNamesTests {// `-local` (legacy), `-local.<8+ lowercase hex>` or `-ci.<7+ hex>`.// Anything else is kept whole, so it never parses as a version.let expectations: [Expectation] = [- Expectation(name: "2.7.2", bundleVersion: "2.7.2", isLocalBuild: false, isCompatible: true, isValid: true),- Expectation(name: "2.7.2-local", bundleVersion: "2.7.2", isLocalBuild: true, isCompatible: true, isValid: true),- Expectation(name: "2.7.2-local.ab12cd34", bundleVersion: "2.7.2", isLocalBuild: true, isCompatible: true, isValid: true),+ Expectation(name: "2.8.2", bundleVersion: "2.8.2", isLocalBuild: false, isCompatible: true, isValid: true),+ Expectation(name: "2.8.2-local", bundleVersion: "2.8.2", isLocalBuild: true, isCompatible: true, isValid: true),+ Expectation(name: "2.8.2-local.ab12cd34", bundleVersion: "2.8.2", isLocalBuild: true, isCompatible: true, isValid: true),// The build identifier is lowercase hex; uppercase is no build.- Expectation(name: "2.7.2-local.AB12CD34", bundleVersion: "2.7.2-local.AB12CD34", isLocalBuild: false, isCompatible: false, isValid: true),- Expectation(name: "2.7.2-local.ab12", bundleVersion: "2.7.2-local.ab12", isLocalBuild: false, isCompatible: false, isValid: true),- Expectation(name: "2.7.2-ci.abcdef1", bundleVersion: "2.7.2", isLocalBuild: false, isCompatible: true, isValid: true),- Expectation(name: "2.6.9-local.ab12cd34", bundleVersion: "2.6.9", isLocalBuild: true, isCompatible: false, isValid: true),+ Expectation(name: "2.8.2-local.AB12CD34", bundleVersion: "2.8.2-local.AB12CD34", isLocalBuild: false, isCompatible: false, isValid: true),+ Expectation(name: "2.8.2-local.ab12", bundleVersion: "2.8.2-local.ab12", isLocalBuild: false, isCompatible: false, isValid: true),+ Expectation(name: "2.8.2-ci.abcdef1", bundleVersion: "2.8.2", isLocalBuild: false, isCompatible: true, isValid: true),+ Expectation(name: "2.7.9-local.ab12cd34", bundleVersion: "2.7.9", isLocalBuild: true, isCompatible: false, isValid: true),Expectation(name: "../x", bundleVersion: "../x", isLocalBuild: false, isCompatible: false, isValid: false),Expectation(name: "", bundleVersion: "", isLocalBuild: false, isCompatible: false, isValid: false),]diff --git a/VPhoneLaunchpad/VPhoneLaunchpadShared/VPhoneLaunchpadBundleStore.swift b/VPhoneLaunchpad/VPhoneLaunchpadShared/VPhoneLaunchpadBundleStore.swiftindex 507c9b1f..21d9b19f 100644--- a/VPhoneLaunchpad/VPhoneLaunchpadShared/VPhoneLaunchpadBundleStore.swift+++ b/VPhoneLaunchpad/VPhoneLaunchpadShared/VPhoneLaunchpadBundleStore.swift@@ -78,10 +78,10 @@ nonisolated enum VPhoneLaunchpadNames {/// machine's Settings pass. 2.5.0 added `vm leases`, which Host Setup/// lists and the helper runs to release orphaned DHCP leases. 2.6.0 added/// `vm config --unlock-at-startup`, which a machine's Settings pass. 2.7.0- /// added `vm clone --new-identity`, which Clone passes, `vm snapshot`,- /// which the Snapshots sheet runs, and `vm config --sync-host-location`,- /// which a machine's Settings pass.- private static let minimumBundleComponents = (2, 7, 0)+ /// added `vm clone --new-identity`, which Clone passes, and+ /// `vm snapshot`, which the Snapshots sheet runs. 2.8.0 added `vm config+ /// --sync-host-location`, which a machine's Settings pass.+ private static let minimumBundleComponents = (2, 8, 0)static let minimumBundleVersion ="\(minimumBundleComponents.0).\(minimumBundleComponents.1).\(minimumBundleComponents.2)"