Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathRNImageCodeScanner.podspec
More file actions
Latest commit
30 lines (23 loc) · 925 Bytes
/
Copy pathRNImageCodeScanner.podspec
File metadata and controls
30 lines (23 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require"json"
package=JSON.parse(File.read(File.join(__dir__,"package.json")))
Pod::Spec.newdo |s|
s.name="RNImageCodeScanner"
s.version=package["version"]
s.summary=package["description"]
s.homepage=package["homepage"]
s.license=package["license"]
s.authors=package["author"]
s.platforms={:ios=>"13.4"}
s.source={:git=>"https://github.com/anngth/react-native-image-code-scanner.git",:tag=>"#{s.version}"}
s.source_files="ios/**/*.{h,m,mm,cpp,swift}"
s.swift_version="5.0"
# Required frameworks for Vision and image processing
s.frameworks="Vision","CoreImage","UIKit","CoreGraphics"
# Pod target configuration for Swift
s.pod_target_xcconfig={
"DEFINES_MODULE"=>"YES",
"SWIFT_OPTIMIZATION_LEVEL"=>"-O",
"SWIFT_COMPILATION_MODE"=>"wholemodule"
}
install_modules_dependencies(s)
end