-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNitroExample.podspec
More file actions
27 lines (20 loc) · 1.03 KB
/
NitroExample.podspec
File metadata and controls
27 lines (20 loc) · 1.03 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
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
Pod::Spec.new do |s|
s.name = "NitroExample"
s.version = "0.1.7"
s.summary = "A short summary of the Plz pod."
s.description = "Fuck this shit"
s.homepage = "https://github.com/yourusername/Plz"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { "Your Name" => "your.email@example.com" }
s.source = { :git => "https://github.com/yourusername/Plz.git" }
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
s.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "\"${PODS_ROOT}/Headers/Private/Yoga\"",
'DEFINES_MODULE' => 'YES',
"GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES",
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
}
load 'nitrogen/generated/ios/NitroExample+autolinking.rb'
add_nitrogen_files(s)
end