-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native-eid-reader.podspec
More file actions
30 lines (24 loc) · 1.24 KB
/
react-native-eid-reader.podspec
File metadata and controls
30 lines (24 loc) · 1.24 KB
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.new do |s|
s.name = "react-native-eid-reader"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "16.0" }
s.source = { :git => "https://github.com/2060-io/react-native-eid-reader.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm,swift}"
# Keep the TurboModule header out of the pod's umbrella. It imports
# `<RNEIdReaderSpec/RNEIdReaderSpec.h>` which transitively pulls in C++
# headers (e.g. <utility>, std::optional); if it ends up in the umbrella,
# other pods compiling plain Obj-C files that parse this module will fail
# with "This file must be compiled as Obj-C++" / "'utility' file not found".
s.private_header_files = "ios/EidReader.h"
s.dependency "OpenSSL-Universal", '3.2.2000'
# `install_modules_dependencies` (RN >= 0.71) wires React-Core, React-Codegen
# (when New Arch is enabled), RCT-Folly, and the TurboModule core
# automatically, and propagates `RCT_NEW_ARCH_ENABLED` into this pod.
install_modules_dependencies(s)
end