mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator).
This commit is contained in:
1 parent
9733fb22fd
commit
c6f96906ca
19 files changed
+165
-21
No files matched your search
@@ -0,0 +1,21 @@
|
||||
framework module GRDB {
|
||||
umbrella header "GRDB.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
|
||||
module SQLiteMacOSX {
|
||||
header "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sqlite3.h"
|
||||
export *
|
||||
}
|
||||
|
||||
module SQLiteiPhoneOS {
|
||||
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sqlite3.h"
|
||||
export *
|
||||
}
|
||||
|
||||
module SQLiteiPhoneSimulator {
|
||||
header "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/sqlite3.h"
|
||||
export *
|
||||
}
|
||||
Reference in new issue
Block a user