diff --git a/CHANGELOG.md b/CHANGELOG.md index a1c972c2ca..a2a3554c8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- Fix Pod target for iOS ([#1237](https://github.com/getsentry/sentry-dart/pull/1237)) + ### Dependencies - Bump Android SDK from v6.11.0 to v6.12.1 ([#1225](https://github.com/getsentry/sentry-dart/pull/1225), [#1230](https://github.com/getsentry/sentry-dart/pull/1230)) diff --git a/flutter/ios/sentry_flutter.podspec b/flutter/ios/sentry_flutter.podspec index 857bc72165..a8ed0c37ee 100644 --- a/flutter/ios/sentry_flutter.podspec +++ b/flutter/ios/sentry_flutter.podspec @@ -18,8 +18,8 @@ Sentry SDK for Flutter with support to native through sentry-cocoa. s.ios.deployment_target = '9.0' s.osx.deployment_target = '10.11' - # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. - s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } + # Flutter.framework does not contain a i386 slice. + s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.osx.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.0' end