Skip to content

Commit cff7fbf

Browse files
philprimeclaude
andcommitted
chore: Merge origin/main into philprime/sync-folders-2-restructure
Resolved conflicts in: - Sample app yml files (added buildPhase: none for configuration files) - schema/xcodegen.schema.json (correct description for tabWidth) - File renames (kept both LoremIpsumView.swift for different projects, kept Info.plist in Configurations) Added swiftlint:disable for test file with long functions. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2 parents f83323c + 313b966 commit cff7fbf

File tree

66 files changed

+1233
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1233
-111
lines changed

.github/workflows/analyze-language-trends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: sudo apt-get update && sudo apt-get install -y cmake pkg-config libicu-dev
3838

3939
- name: Setup Ruby
40-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
40+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
4141
with:
4242
bundler-cache: true
4343

.github/workflows/assemble-xcframework-variant.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
steps:
7272
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7373
- name: Setup Ruby
74-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
74+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
7575
if: ${{ inputs.signed }}
7676
with:
7777
bundler-cache: true

.github/workflows/benchmarking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6565
- run: ./scripts/ci-select-xcode.sh 26.1.1
6666
- name: Setup Ruby
67-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
67+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
6868
with:
6969
bundler-cache: true
7070
- run: make init-ci-build

.github/workflows/build.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
- run: ./scripts/ci-select-xcode.sh 26.2
6565
- name: Setup Ruby
66-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
66+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
6767
with:
6868
bundler-cache: true
6969
- run: make init-ci-build
@@ -187,6 +187,37 @@ jobs:
187187
if: ${{ failure() || cancelled() }}
188188
run: ./scripts/ci-diagnostics.sh
189189

190+
check-macOS-CLI-Xcode-no-UI-framework:
191+
name: macOS CLI (NoUIFramework) builds and has no AppKit/UIKit
192+
if: github.event_name != 'pull_request' || needs.files-changed.outputs.run_build_for_prs == 'true'
193+
needs: files-changed
194+
runs-on: macos-26
195+
steps:
196+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
197+
198+
- name: Select Xcode
199+
run: ./scripts/ci-select-xcode.sh 26.4
200+
201+
- name: Build macOS-CLI-Xcode sample
202+
run: |
203+
set -o pipefail && xcodebuild \
204+
-project "Samples/macOS-CLI-Xcode/macOS-CLI-Xcode.xcodeproj" \
205+
-scheme macOS-CLI-Xcode \
206+
-configuration Debug \
207+
-destination 'platform=macOS' \
208+
-derivedDataPath "$GITHUB_WORKSPACE/cli-xcode-build" \
209+
CODE_SIGNING_ALLOWED="NO" build | xcbeautify --preserve-unbeautified
210+
211+
- name: Ensure CLI binary does not link AppKit
212+
run: ./scripts/check-ui-framework-linkage.sh --configuration Debug --derived-data "$GITHUB_WORKSPACE/cli-xcode-build" --linkage unlinked --module macOS-CLI-Xcode --framework AppKit
213+
214+
- name: Ensure CLI binary does not link UIKit
215+
run: ./scripts/check-ui-framework-linkage.sh --configuration Debug --derived-data "$GITHUB_WORKSPACE/cli-xcode-build" --linkage unlinked --module macOS-CLI-Xcode --framework UIKit
216+
217+
- name: Debug Xcode environment
218+
if: ${{ failure() || cancelled() }}
219+
run: ./scripts/ci-diagnostics.sh
220+
190221
build-distribution:
191222
name: Build the distribution framework
192223
runs-on: macos-15
@@ -456,6 +487,7 @@ jobs:
456487
ios-swift-release,
457488
build-sample,
458489
build-sample-spm,
490+
check-macOS-CLI-Xcode-no-UI-framework,
459491
build-distribution,
460492
build-spm,
461493
check-debug-without-UIKit,

.github/workflows/changelog-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ permissions:
1010

1111
jobs:
1212
changelog-preview:
13-
uses: getsentry/craft/.github/workflows/changelog-preview.yml@ce288193e2ac7976b0ffd1d5733527605e6fd63b # v2
13+
uses: getsentry/craft/.github/workflows/changelog-preview.yml@d630201930c7fe5aee6366ebee19ebb681128512 # v2
1414
secrets: inherit

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: ./scripts/ci-select-xcode.sh 16.4
4646

4747
- name: Setup Ruby
48-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
48+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
4949
with:
5050
bundler-cache: true
5151

.github/workflows/lint-cocoapods-specs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5252
- run: ./scripts/ci-select-xcode.sh 16.4
5353
- name: Setup Ruby
54-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
54+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
5555
with:
5656
bundler-cache: true
5757
# We need to update the spec-repo, because it can happen that it is not up to date and then the lint fails.

.github/workflows/objc-conversion-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Checkout code
4747
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4848
- name: Setup Ruby
49-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
49+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
5050
with:
5151
bundler-cache: true
5252

.github/workflows/release.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ jobs:
164164
--package-file Package.swift \
165165
--is-pr "${{ github.event_name == 'pull_request' }}" \
166166
--change-path true
167+
./scripts/prepare-package.sh \
168+
--package-file Package@swift-6.1.swift \
169+
--is-pr "${{ github.event_name == 'pull_request' }}" \
170+
--change-path true
167171
- run: ./scripts/ci-select-xcode.sh 16.4
168172
- run: swift build
169173
working-directory: Samples/macOS-SPM-CommandLine
@@ -190,6 +194,10 @@ jobs:
190194
--package-file Package.swift \
191195
--is-pr "${{ github.event_name == 'pull_request' }}" \
192196
--change-path true
197+
./scripts/prepare-package.sh \
198+
--package-file Package@swift-6.1.swift \
199+
--is-pr "${{ github.event_name == 'pull_request' }}" \
200+
--change-path true
193201
- run: ./scripts/ci-select-xcode.sh 16.4
194202
- run: swift build
195203
working-directory: Samples/SPM-Dynamic
@@ -216,6 +224,10 @@ jobs:
216224
--package-file Package.swift \
217225
--is-pr "${{ github.event_name == 'pull_request' }}" \
218226
--change-path true
227+
./scripts/prepare-package.sh \
228+
--package-file Package@swift-6.1.swift \
229+
--is-pr "${{ github.event_name == 'pull_request' }}" \
230+
--change-path true
219231
- run: ./scripts/ci-select-xcode.sh 16.4
220232
- run: swift build --target SentrySwiftUI
221233
- name: Run CI Diagnostics
@@ -241,6 +253,10 @@ jobs:
241253
--package-file Package.swift \
242254
--is-pr "${{ github.event_name == 'pull_request' }}" \
243255
--change-path true
256+
./scripts/prepare-package.sh \
257+
--package-file Package@swift-6.1.swift \
258+
--is-pr "${{ github.event_name == 'pull_request' }}" \
259+
--change-path true
244260
- run: ./scripts/ci-select-xcode.sh 16.4
245261
- run: set -o pipefail &&xcodebuild build -scheme visionOS-SPM -sdk xros -destination 'generic/platform=xros' | tee raw-build-output-spm-visionOS.log | xcbeautify
246262
working-directory: Samples/visionOS-SPM
@@ -282,7 +298,7 @@ jobs:
282298
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
283299
- run: ./scripts/ci-select-xcode.sh 16.4
284300
- name: Setup Ruby
285-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
301+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
286302
with:
287303
bundler-cache: true
288304
- uses: actions/cache@v5
@@ -380,7 +396,7 @@ jobs:
380396
GITHUB_RUN_ID: ${{ github.run_id }}
381397

382398
- name: Prepare release
383-
uses: getsentry/craft@ce288193e2ac7976b0ffd1d5733527605e6fd63b # v2
399+
uses: getsentry/craft@d630201930c7fe5aee6366ebee19ebb681128512 # v2
384400
env:
385401
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
386402
with:

.github/workflows/size-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: ./scripts/ci-select-xcode.sh 26.1.1
6767

6868
- name: Setup Ruby
69-
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
69+
uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
7070
with:
7171
bundler-cache: true
7272

0 commit comments

Comments
 (0)