We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15de79e commit d5e88baCopy full SHA for d5e88ba
1 file changed
samples/react-native/ios/Podfile
@@ -61,5 +61,15 @@ target 'sentryreactnativesample' do
61
:mac_catalyst_enabled => false,
62
# :ccache_enabled => true
63
)
64
+
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
73
74
end
75
0 commit comments