forked from Nozbe/WatermelonDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWatermelonDB.podspec
22 lines (20 loc) · 898 Bytes
/
WatermelonDB.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require "json"
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "WatermelonDB"
s.version = package["version"]
s.summary = package["description"]
s.description = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.author = { "author" => package["author"] }
s.platforms = { :ios => "9.0", :tvos => "9.0" }
s.source = { :git => "https://github.com/Nozbe/WatermelonDB.git", :tag => "v#{s.version}" }
s.source_files = "native/ios/**/*.{h,m,mm,swift,c,cpp}", "native/shared/**/*.{h,c,cpp}"
s.public_header_files = 'native/ios/WatermelonDB/SupportingFiles/Bridging.h'
s.requires_arc = true
# simdjson is annoyingly slow without compiler optimization, disable for debugging
s.compiler_flags = '-Os'
s.dependency "React"
s.dependency "React-jsi"
end