-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIRNativeModules.podspec
More file actions
38 lines (33 loc) · 1.53 KB
/
IRNativeModules.podspec
File metadata and controls
38 lines (33 loc) · 1.53 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
Pod::Spec.new do |s|
s.name = "IRNativeModules"
s.version = "1.0.0"
s.summary = "Colocated native modules for Reactotron"
s.description = "A unified podspec for all colocated native modules in the Reactotron app"
s.homepage = "https://github.com/infinitered/reactotron-macos"
s.license = "MIT"
s.authors = { "Infinite Red" => "hello@infinite.red" }
s.source = { :path => "." }
s.platform = :osx, "11.0"
s.requires_arc = true
# Include all native modules and generated files
s.source_files = [
"app/**/*.{h,m,mm,c,cpp,swift}",
"app/utils/experimental/*.{h,m,mm,swift}",
"macos/build/generated/colocated/**/*.{h,m,mm,c,cpp,swift}"
]
# Exclude Windows-specific sources from macOS build
s.exclude_files = [
"app/**/*.windows.{h,cpp}"
]
s.dependency 'React-Core'
s.dependency 'ReactCodegen'
s.dependency 'React-Fabric'
s.dependency 'RCT-Folly'
s.dependency 'Yoga'
# Compiler configuration for React Native Fabric components. Folly documentation: https://github.com/facebook/folly
s.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -DFOLLY_CFG_NO_COROUTINES'
s.pod_target_xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++20',
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/RCT-Folly" "$(PODS_ROOT)/DoubleConversion" "$(PODS_CONFIGURATION_BUILD_DIR)/ReactCodegen" "$(PODS_ROOT)/React-Fabric" "$(PODS_ROOT)/Headers/Private/React-Fabric" "$(PODS_ROOT)/Headers/Private/Yoga"'
}
end