-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native-rs-lib.podspec
More file actions
53 lines (45 loc) · 1.33 KB
/
Copy pathreact-native-rs-lib.podspec
File metadata and controls
53 lines (45 loc) · 1.33 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-rs-lib"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "12.0" }
s.source = { :git => "https://github.com/rajeshshinde/react-native-rs-lib.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.requires_arc = true
# React Native dependencies
s.dependency "React-Core"
s.dependency "React-CoreModules"
s.dependency "React-RCTImage"
s.dependency "React-RCTLinking"
s.dependency "React-RCTNetwork"
s.dependency "React-RCTSettings"
s.dependency "React-RCTText"
s.dependency "React-RCTVibration"
s.dependency "React-Core/RCTWebSocket"
# iOS specific dependencies
s.frameworks = [
"UIKit",
"Foundation",
"CoreLocation",
"AVFoundation",
"Photos",
"PhotosUI",
"UniformTypeIdentifiers",
"MobileCoreServices",
"ImageIO",
"CoreGraphics",
"Security",
"CommonCrypto"
]
s.ios.deployment_target = "12.0"
# Auto-linking configuration
s.pod_target_xcconfig = {
"DEFINES_MODULE" => "YES",
"SWIFT_OPTIMIZATION_LEVEL" => "-Onone"
}
end