Skip to content

Commit 521cfbf

Browse files
authored
Fix Pod target for iOS (#1237)
1 parent 21d4150 commit 521cfbf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixes
6+
7+
- Fix Pod target for iOS ([#1237](https://github.com/getsentry/sentry-dart/pull/1237))
8+
59
### Dependencies
610

711
- 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))

flutter/ios/sentry_flutter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Sentry SDK for Flutter with support to native through sentry-cocoa.
1818
s.ios.deployment_target = '9.0'
1919
s.osx.deployment_target = '10.11'
2020

21-
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
22-
s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
21+
# Flutter.framework does not contain a i386 slice.
22+
s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
2323
s.osx.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2424
s.swift_version = '5.0'
2525
end

0 commit comments

Comments
 (0)