Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-10-23 10:06:55 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
20527c833f23c342cb12b95f9ea52bcb0ff9d0ff
20527c83
1 parent
67e0932f
exclude arm64 simulators
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
README.md
ios/mobile_scanner.podspec
README.md
View file @
20527c8
...
...
@@ -60,6 +60,10 @@ dev.steenbakker.mobile_scanner.useUnbundled=true
```
### iOS
_iOS arm64 Simulators are currently not yet supported, until the migration to the Vision API is complete._
_See_
https://github.com/juliansteenbakker/mobile_scanner/issues/1225
**Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:**
NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
...
...
ios/mobile_scanner.podspec
View file @
20527c8
...
...
@@ -21,7 +21,8 @@ An universal scanner for Flutter based on MLKit.
# Flutter.framework does not contain a i386 slice, and MLKit does not support armv7.
s
.
pod_target_xcconfig
=
{
'DEFINES_MODULE'
=>
'YES'
,
'EXCLUDED_ARCHS[sdk=iphonesimulator*]'
=>
'i386 armv7'
,
# TODO: add back arm64 (and armv7?) when switching to the Vision API.
'EXCLUDED_ARCHS[sdk=iphonesimulator*]'
=>
'i386 armv7 arm64'
,
'EXCLUDED_ARCHS[sdk=iphoneos*]'
=>
'armv7'
,
}
s
.
swift_version
=
'5.0'
...
...
Please
register
or
login
to post a comment