Skip to content

Commit d88d0df

Browse files
committed
Fixed issues for LiquidCore 0.7.0 iOS
1 parent c517578 commit d88d0df

File tree

2 files changed

+296
-303
lines changed

2 files changed

+296
-303
lines changed

node-sqlite3.podspec

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
require "json"
2+
3+
lcpackage = JSON.parse(File.read(File.join(__dir__, "package.json")))
4+
version = lcpackage['version']
5+
16
Pod::Spec.new do |s|
27
s.name = "node-sqlite3"
3-
s.version = "0.1.4"
8+
s.version = version
49
s.summary = "Asynchronous, non-blocking SQLite3 bindings for LiqudCore"
510

611
s.description = <<-DESC
@@ -9,48 +14,36 @@ Pod::Spec.new do |s|
914

1015
s.homepage = "https://github.com/LiquidPlayer/node-sqlite3"
1116
s.license = {:type => "BSD-3", :file => "LICENSE"}
12-
1317
s.author = { "Eric Lange" => "[email protected]" }
14-
15-
s.platform = :ios, '10.0'
16-
18+
s.platform = :ios, '11.0'
1719
s.source = { :git => "https://github.com/LiquidPlayer/node-sqlite3.git", :tag => "#{s.version}" }
18-
1920
s.prepare_command = <<-CMD
2021
npm install
2122
CMD
22-
2323
s.source_files =
2424
"src/*.{cc,h}",
2525
"liquidcore/ios/*.{h,m,mm}",
2626
"node_modules/nan/*.h"
27-
2827
s.private_header_files = [
2928
"src/*.{h}",
3029
"liquidcore/ios/*.{h}",
3130
"node_modules/nan/*.h"
3231
]
33-
34-
s.libraries = [
35-
'sqlite3', # libsqlite3.tbd
36-
]
37-
32+
s.libraries = [ 'sqlite3' ]
3833
s.xcconfig = {
3934
:CLANG_WARN_DOCUMENTATION_COMMENTS => 'NO',
4035
:GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS => 'NO',
4136
:GCC_WARN_64_TO_32_BIT_CONVERSION => 'NO',
4237
:CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES => 'YES',
4338
:SYSTEM_HEADER_SEARCH_PATHS => [
44-
"${PODS_CONFIGURATION_BUILD_DIR}/LiquidCore/LiquidCore.framework/PrivateHeaders"
39+
"${PODS_CONFIGURATION_BUILD_DIR}/LiquidCore-headers/LiquidCore_headers.framework/PrivateHeaders",
4540
].join(' '),
46-
4741
:OTHER_CPLUSPLUSFLAGS => [
4842
'-DNODE_WANT_INTERNALS=1'
4943
].join(' '),
5044

5145
}
52-
5346
s.swift_version = '3.0'
54-
5547
s.dependency "LiquidCore"
48+
s.dependency 'LiquidCore-headers'
5649
end

0 commit comments

Comments
 (0)