forked from krishnafkh/react-native-grpc
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native-grpc.podspec
More file actions
Latest commit
30 lines (21 loc) · 876 Bytes
/
Copy pathreact-native-grpc.podspec
File metadata and controls
30 lines (21 loc) · 876 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="react-native-grpc"
s.version=package["version"]
s.summary=package["description"]
s.homepage=package["homepage"]
s.license=package["license"]
s.authors=package["author"]
s.platforms={:ios=>"10.0"}
s.source={:git=>"https://github.com/krishnafkh/react-native-grpc.git",:tag=>"#{s.version}"}
s.source_files="ios/**/*.{h,m,mm,swift}"
s.dependency"React-Core"
s.dependency"gRPC"
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root='Pods'
s.pod_target_xcconfig={
# This is needed by all pods that depend on gRPC-RxLibrary:
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'=>'YES',
}
end