Skip to content

Commit cc8dcc4

Browse files
committed
Merge branch 'main' into ci/visionos
2 parents f9f59d7 + c561e0d commit cc8dcc4

File tree

7 files changed

+112
-40
lines changed

7 files changed

+112
-40
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,26 @@ name: CD
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
deploy:
1010
name: Deploy to CocoaPods Trunk
11-
runs-on: macos-latest
11+
runs-on: macos-14
1212
steps:
1313
- name: Git Checkout
1414
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0 # required to be able to find Git tags
1717

18+
- name: Set up pkgx environment
19+
uses: pkgxdev/setup@v1
20+
with:
21+
+: pod xcodes
22+
23+
- name: Select Xcode version
24+
run: sudo xcodes select 15.4
25+
1826
- name: Deploy to CocoaPods Trunk
1927
run: |
2028
set -eo pipefail

.github/workflows/ci.yml

Lines changed: 93 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches:
99
- "**"
1010
schedule:
11-
- cron: '3 3 * * 2' # 3:03 AM, every Tuesday
11+
- cron: "3 3 * * 2" # 3:03 AM, every Tuesday
1212

1313
concurrency:
1414
group: ci-${{ github.ref }}
@@ -17,13 +17,21 @@ concurrency:
1717
jobs:
1818
lint-podspec:
1919
name: Lint Podspec
20-
runs-on: macos-latest
20+
runs-on: macos-14
2121
steps:
2222
- name: Git Checkout
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0 # required to be able to find Git tags
2626

27+
- name: Set up pkgx environment
28+
uses: pkgxdev/setup@v1
29+
with:
30+
+: pod xcodes
31+
32+
- name: Select Xcode version
33+
run: sudo xcodes select 15.4
34+
2735
- name: Lint Podspec
2836
run: |
2937
set -eo pipefail
@@ -37,6 +45,81 @@ jobs:
3745
fail-fast: false
3846
matrix:
3947
include:
48+
# - platform: [iOS, 13]
49+
# runtime: iOS 13.7
50+
# os: macos-12
51+
# xcode: 14.2
52+
# install: true
53+
# - platform: [iOS, 14]
54+
# runtime: iOS 14.5
55+
# os: macos-12
56+
# xcode: 14.2
57+
# install: true
58+
# - platform: [iOS, 15]
59+
# runtime: iOS 15.5
60+
# os: macos-13
61+
# xcode: 15.0.1
62+
# install: true
63+
# - platform: [iOS, 16]
64+
# runtime: iOS 16.4
65+
# os: macos-13
66+
# xcode: 14.3.1
67+
# - platform: [iOS, 17]
68+
# runtime: iOS 17.5
69+
# os: macos-14
70+
# xcode: 15.4
71+
72+
# - platform: [tvOS, 13]
73+
# runtime: tvOS 13.4
74+
# os: macos-12
75+
# xcode: 14.2
76+
# install: true
77+
# - platform: [tvOS, 14]
78+
# runtime: tvOS 14.5
79+
# os: macos-12
80+
# xcode: 14.2
81+
# install: true
82+
# - platform: [tvOS, 15]
83+
# runtime: tvOS 15.4
84+
# os: macos-13
85+
# xcode: 15.0.1
86+
# install: true
87+
# - platform: [tvOS, 16]
88+
# runtime: tvOS 16.4
89+
# os: macos-13
90+
# xcode: 15.0.1
91+
# - platform: [tvOS, 17]
92+
# runtime: tvOS 17.5
93+
# os: macos-14
94+
# xcode: 15.4
95+
96+
# - platform: [watchOS, 8]
97+
# runtime: watchOS 8.5
98+
# os: macos-13
99+
# xcode: 15.0.1
100+
# install: true
101+
# - platform: [watchOS, 9]
102+
# runtime: watchOS 9.4
103+
# os: macos-13
104+
# xcode: 14.3.1
105+
# - platform: [watchOS, 10]
106+
# runtime: watchOS 10.5
107+
# os: macos-14
108+
# xcode: 15.4
109+
110+
# - platform: [macOS, 12]
111+
# runtime: macOS 12
112+
# os: macos-12
113+
# xcode: 14.2
114+
# - platform: [macOS, 13]
115+
# runtime: macOS 13
116+
# os: macos-13
117+
# xcode: 15.0.1
118+
# - platform: [macOS, 14]
119+
# runtime: macOS 14
120+
# os: macos-14
121+
# xcode: 15.4
122+
40123
- platform: [visionOS, 1]
41124
runtime: visionOS 1.0
42125
os: macos-14
@@ -61,6 +144,10 @@ jobs:
61144
- name: Select Xcode version
62145
run: sudo xcodes select ${{ matrix.xcode }}
63146

147+
- if: ${{ matrix.install }}
148+
name: "[Debug] List Available Installable Runtimes"
149+
run: xcodes runtimes --include-betas
150+
64151
- if: ${{ matrix.install }}
65152
name: Install Required Runtime (${{ matrix.runtime }})
66153
uses: nick-fields/retry@v2
@@ -69,8 +156,7 @@ jobs:
69156
max_attempts: 3
70157
command: sudo xcodes runtimes install '${{ matrix.runtime }}'
71158

72-
- if: true
73-
name: '[Debug] List Available Runtimes, Simulators, and Destinations'
159+
- name: "[Debug] List Available Runtimes, Simulators, and Destinations"
74160
run: |
75161
xcrun simctl list
76162
xcodebuild -scheme "SwiftUIIntrospect" -showdestinations
@@ -87,6 +173,6 @@ jobs:
87173
name: Run Tests
88174
run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectTests configuration:Debug
89175

90-
- if: ${{ matrix.platform[0] == 'iOS' && matrix.platform[1] <= '16' }}
91-
name: Run UI Tests
92-
run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectUITests configuration:Debug
176+
# - if: ${{ matrix.platform[0] == 'iOS' && matrix.platform[1] <= '16' }}
177+
# name: Run UI Tests
178+
# run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectUITests configuration:Debug

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Changelog
33

44
## master
55

6+
## [1.1.4]
7+
8+
This version removes the SimulatorStatusMagic dev dependency in order for SwiftUIIntrospect not to require a privacy manifest (#411). See #406 for more details.
9+
610
## [1.1.3]
711

812
Due to a mysterious bug on Apple's part that may cause a complete app hang, the unfortunate decision has been made to remove support for `SignInWithAppleButton` introspection.

SwiftUIIntrospect.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ Pod::Spec.new do |spec|
1616
spec.ios.deployment_target = '13.0'
1717
spec.tvos.deployment_target = '13.0'
1818
spec.osx.deployment_target = '10.15'
19+
spec.visionos.deployment_target = '1.0'
1920
end

SwiftUIIntrospect.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/Tests.xcodeproj/project.pbxproj

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
D5C482402AA354B0005FBE0A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D5C4823F2AA354B0005FBE0A /* LaunchScreen.storyboard */; platformFilter = ios; };
130130
D5F0BE4D29C0DBE800AD95AB /* TestsHostApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F0BE4C29C0DBE800AD95AB /* TestsHostApp.swift */; };
131131
D5F0BE6A29C0DC4900AD95AB /* PlatformVersionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F0BE6729C0DC4900AD95AB /* PlatformVersionTests.swift */; };
132-
D5F210812A66DDCB002B8385 /* SimulatorStatusMagic in Frameworks */ = {isa = PBXBuildFile; productRef = D5F210802A66DDCB002B8385 /* SimulatorStatusMagic */; };
133132
D5F26E022A561130001209E6 /* PageControlTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F26E012A561130001209E6 /* PageControlTests.swift */; };
134133
D5F26E042A56E74B001209E6 /* ViewControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F26E032A56E74B001209E6 /* ViewControllerTests.swift */; };
135134
D5F8D5ED2A1E7B490054E9AB /* NavigationViewWithStackStyleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F8D5EC2A1E7B490054E9AB /* NavigationViewWithStackStyleTests.swift */; };
@@ -259,7 +258,6 @@
259258
isa = PBXFrameworksBuildPhase;
260259
buildActionMask = 2147483647;
261260
files = (
262-
D5F210812A66DDCB002B8385 /* SimulatorStatusMagic in Frameworks */,
263261
D58D83382A66C01300A203BE /* SnapshotTesting in Frameworks */,
264262
D58D833A2A66C04600A203BE /* SwiftUIIntrospect in Frameworks */,
265263
);
@@ -526,7 +524,6 @@
526524
packageProductDependencies = (
527525
D58D83372A66C01300A203BE /* SnapshotTesting */,
528526
D58D83392A66C04600A203BE /* SwiftUIIntrospect */,
529-
D5F210802A66DDCB002B8385 /* SimulatorStatusMagic */,
530527
);
531528
productName = UITests;
532529
productReference = D58D832B2A66BDD500A203BE /* UITests.xctest */;
@@ -631,7 +628,6 @@
631628
mainGroup = D5F0BE3E29C0DB9700AD95AB;
632629
packageReferences = (
633630
D58D83362A66C01300A203BE /* XCRemoteSwiftPackageReference "swift-snapshot-testing" */,
634-
D5F2107D2A66DC85002B8385 /* XCRemoteSwiftPackageReference "SimulatorStatusMagic" */,
635631
);
636632
productRefGroup = D5F0BE4A29C0DBE800AD95AB /* Products */;
637633
projectDirPath = "";
@@ -2023,14 +2019,6 @@
20232019
minimumVersion = 1.11.1;
20242020
};
20252021
};
2026-
D5F2107D2A66DC85002B8385 /* XCRemoteSwiftPackageReference "SimulatorStatusMagic" */ = {
2027-
isa = XCRemoteSwiftPackageReference;
2028-
repositoryURL = "https://github.com/shinydevelopment/SimulatorStatusMagic";
2029-
requirement = {
2030-
kind = upToNextMajorVersion;
2031-
minimumVersion = 2.7.0;
2032-
};
2033-
};
20342022
/* End XCRemoteSwiftPackageReference section */
20352023

20362024
/* Begin XCSwiftPackageProductDependency section */
@@ -2055,11 +2043,6 @@
20552043
isa = XCSwiftPackageProductDependency;
20562044
productName = SwiftUIIntrospect;
20572045
};
2058-
D5F210802A66DDCB002B8385 /* SimulatorStatusMagic */ = {
2059-
isa = XCSwiftPackageProductDependency;
2060-
package = D5F2107D2A66DC85002B8385 /* XCRemoteSwiftPackageReference "SimulatorStatusMagic" */;
2061-
productName = SimulatorStatusMagic;
2062-
};
20632046
/* End XCSwiftPackageProductDependency section */
20642047
};
20652048
rootObject = D5F0BE3F29C0DB9700AD95AB /* Project object */;

fastlane/Fastfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,22 @@ devices = {
66
14 => ["iPhone 12 (14.5)", "iPad Pro (9.7-inch) (14.5)"],
77
15 => ["iPhone SE (3rd generation) (15.5)", "iPad Air (5th generation) (15.5)",],
88
16 => ["iPhone 14 (16.4)", "iPad Pro (11-inch) (4th generation) (16.4)"],
9-
17 => ["iPhone 14 (17.0.1)", "iPad Pro (11-inch) (4th generation) (17.0.1)"],
9+
17 => ["iPhone 14 (17.5)", "iPad Pro (11-inch) (4th generation) (17.5)"],
1010
},
1111
"tvos" => {
1212
13 => ["Apple TV (13.4)"],
1313
14 => ["Apple TV (14.5)"],
1414
15 => ["Apple TV (15.4)"],
1515
16 => ["Apple TV (16.4)"],
16-
17 => ["Apple TV (17.0)"],
16+
17 => ["Apple TV (17.5)"],
1717
},
1818
"watchos" => {
19-
7 => ["Apple Watch Series 6 (44mm) (7.4)"],
2019
8 => ["Apple Watch Series 7 (45mm) (8.5)"],
2120
9 => ["Apple Watch Series 8 (45mm) (9.4)"],
22-
10 => ["Apple Watch Series 9 (45mm) (10.0)"],
21+
10 => ["Apple Watch Series 9 (45mm) (10.5)"],
2322
},
2423
"visionos" => {
25-
1 => ["Apple Vision Pro (1.0)"],
24+
1 => ["Apple Vision Pro (1.2)"],
2625
},
2726
}
2827

0 commit comments

Comments
 (0)