@@ -4,7 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
5
6
6
Pod ::Spec . new do |s |
7
- s . name = "RNAsyncStorageSQLite"
7
+ s . name = File . basename ( __FILE__ , '.podspec' )
8
8
s . version = package [ "version" ]
9
9
s . summary = package [ "description" ]
10
10
s . homepage = package [ "homepage" ]
@@ -21,21 +21,21 @@ Pod::Spec.new do |s|
21
21
if respond_to? ( :install_modules_dependencies , true )
22
22
install_modules_dependencies ( s )
23
23
else
24
- s . dependency "React-Core"
24
+ s . dependency "React-Core"
25
25
26
- # Don't install the dependencies when we run `pod install` in the old architecture.
27
- if ENV [ 'RCT_NEW_ARCH_ENABLED' ] == '1' then
28
- s . compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
29
- s . pod_target_xcconfig = {
30
- "HEADER_SEARCH_PATHS" => "\" $(PODS_ROOT)/boost\" " ,
31
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1" ,
32
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
33
- }
34
- s . dependency "React-Codegen"
35
- s . dependency "RCT-Folly"
36
- s . dependency "RCTRequired"
37
- s . dependency "RCTTypeSafety"
38
- s . dependency "ReactCommon/turbomodule/core"
39
- end
40
- end
26
+ # Don't install the dependencies when we run `pod install` in the old architecture.
27
+ if ENV [ 'RCT_NEW_ARCH_ENABLED' ] == '1' then
28
+ s . compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
29
+ s . pod_target_xcconfig = {
30
+ "HEADER_SEARCH_PATHS" => "\" $(PODS_ROOT)/boost\" " ,
31
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1" ,
32
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
33
+ }
34
+ s . dependency "React-Codegen"
35
+ s . dependency "RCT-Folly"
36
+ s . dependency "RCTRequired"
37
+ s . dependency "RCTTypeSafety"
38
+ s . dependency "ReactCommon/turbomodule/core"
39
+ end
40
+ end
41
41
end
0 commit comments