Skip to content

Commit 20527c8

Browse files
committed
exclude arm64 simulators
1 parent 67e0932 commit 20527c8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ dev.steenbakker.mobile_scanner.useUnbundled=true
6060
```
6161

6262
### iOS
63+
64+
_iOS arm64 Simulators are currently not yet supported, until the migration to the Vision API is complete._
65+
_See_ https://github.com/juliansteenbakker/mobile_scanner/issues/1225
66+
6367
**Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:**
6468
NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
6569

ios/mobile_scanner.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ An universal scanner for Flutter based on MLKit.
2121
# Flutter.framework does not contain a i386 slice, and MLKit does not support armv7.
2222
s.pod_target_xcconfig = {
2323
'DEFINES_MODULE' => 'YES',
24-
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 armv7',
24+
# TODO: add back arm64 (and armv7?) when switching to the Vision API.
25+
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 armv7 arm64',
2526
'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'armv7',
2627
}
2728
s.swift_version = '5.0'

0 commit comments

Comments
 (0)