-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRNHotswap.podspec
More file actions
28 lines (23 loc) · 1.04 KB
/
Copy pathRNHotswap.podspec
File metadata and controls
28 lines (23 loc) · 1.04 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
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNHotswap"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "15.1" }
s.source = { :git => "https://github.com/Salve-Software/react-native-hotswap.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm}"
# Only the delegate hook is meant to be imported. The rest walk Mach-O structures and do
# not survive being compiled as Objective-C inside the umbrella.
s.public_header_files = "ios/HotswapGenerations.h"
s.private_header_files = ["ios/HotswapImage.h", "ios/HotswapNotice.h", "ios/HotswapPointers.h", "ios/HotswapRebind.h"]
s.pod_target_xcconfig = {
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
# Swift in the app has to import this to reach the delegate hook.
"DEFINES_MODULE" => "YES",
}
s.dependency "React-Core"
end