Showing
1 changed file
with
6 additions
and
2 deletions
| @@ -18,8 +18,12 @@ An universal scanner for Flutter based on MLKit. | @@ -18,8 +18,12 @@ An universal scanner for Flutter based on MLKit. | ||
| 18 | s.dependency 'GoogleMLKit/BarcodeScanning', '~> 7.0.0' | 18 | s.dependency 'GoogleMLKit/BarcodeScanning', '~> 7.0.0' |
| 19 | s.platform = :ios, '15.5.0' | 19 | s.platform = :ios, '15.5.0' |
| 20 | s.static_framework = true | 20 | s.static_framework = true |
| 21 | - # Flutter.framework does not contain a i386 slice. | ||
| 22 | - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } | 21 | + # Flutter.framework does not contain a i386 slice, and MLKit does not support armv7. |
| 22 | + s.pod_target_xcconfig = { | ||
| 23 | + 'DEFINES_MODULE' => 'YES', | ||
| 24 | + 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 armv7', | ||
| 25 | + 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'armv7', | ||
| 26 | + } | ||
| 23 | s.swift_version = '5.0' | 27 | s.swift_version = '5.0' |
| 24 | s.resource_bundles = { 'mobile_scanner_privacy' => ['Resources/PrivacyInfo.xcprivacy'] } | 28 | s.resource_bundles = { 'mobile_scanner_privacy' => ['Resources/PrivacyInfo.xcprivacy'] } |
| 25 | end | 29 | end |
-
Please register or login to post a comment