Skip to content

Commit c46b92d

Browse files
committed
Xcode 26.2 compatibility fix
1 parent d5e88ba commit c46b92d

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/testflight.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
6363
SENTRY_LOG_LEVEL: DEBUG
6464
SENTRY_CLI_EXTRA_ARGS: "--force-foreground"
65+
# Fix for Xcode 26+ with MetalToolchain: use default Xcode toolchain to avoid
66+
# missing Swift compatibility libraries (swiftCompatibility56, etc.)
67+
# See: https://github.com/actions/runner-images/issues/13135
68+
TOOLCHAINS: com.apple.dt.toolchain.XcodeDefault
6569
run: |
6670
bundle exec fastlane ios build_react_native_sample
6771
bundle exec fastlane ios upload_react_native_sample_to_testflight

samples/react-native/ios/Podfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,5 @@ target 'sentryreactnativesample' do
6262
# :ccache_enabled => true
6363
)
6464

65-
# Fix for Xcode 26+ which removed swiftCompatibility56 libraries.
66-
# Override Swift version for Sentry to avoid compatibility shim references.
67-
installer.pods_project.targets.each do |target|
68-
if target.name == 'Sentry'
69-
target.build_configurations.each do |config|
70-
config.build_settings['SWIFT_VERSION'] = '6.0'
71-
end
72-
end
73-
end
7465
end
7566
end

0 commit comments

Comments
 (0)