Navaron Bracke

exclude arm64 simulators

@@ -60,6 +60,10 @@ dev.steenbakker.mobile_scanner.useUnbundled=true @@ -60,6 +60,10 @@ dev.steenbakker.mobile_scanner.useUnbundled=true
60 ``` 60 ```
61 61
62 ### iOS 62 ### 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 +
63 **Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:** 67 **Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:**
64 NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor. 68 NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
65 69
@@ -21,7 +21,8 @@ An universal scanner for Flutter based on MLKit. @@ -21,7 +21,8 @@ An universal scanner for Flutter based on MLKit.
21 # Flutter.framework does not contain a i386 slice, and MLKit does not support armv7. 21 # Flutter.framework does not contain a i386 slice, and MLKit does not support armv7.
22 s.pod_target_xcconfig = { 22 s.pod_target_xcconfig = {
23 'DEFINES_MODULE' => 'YES', 23 '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',
25 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'armv7', 26 'EXCLUDED_ARCHS[sdk=iphoneos*]' => 'armv7',
26 } 27 }
27 s.swift_version = '5.0' 28 s.swift_version = '5.0'