Build SQLCipher from Command Line #144
Labels
blocked
Progress is impossible due to some external blocking reason
enhancement
help wanted
Extra attention is needed
Hi @groue i am having trouble building an iOS project from the command line (it is building and running in Xcode fine). It has GRDB embedded to use GRDBCipher. I have tracked down the issue and it seems related to #41 .
The amalgamation is failing to compile when xcodebuild is run with -sdk iphoneos. Here is the output from trying to compile GRDBCipheriOS
xcodebuild build -workspace GRDB.xcworkspace -scheme GRDBCipheriOS
Here is the output attempting to compile just sqlcipher amalgamation target with -sdk iphoneos
xcodebuild build -project SQLCipher/src/sqlcipher.xcodeproj -target amalgamation -sdk iphoneos
That script file mentioned in the error is the amalgamation post script from #41
I was able to get a GRDBCipher to compile via the command line if i first compile the amalgamation target via the command line with -sdk macosx, and remove the amalgamation target from sqlcipher's target dependencies so it will use the previously produced output rather than trying to compile it.
I have tried updating the run script in the sqlcipher amalgamation target, and no matter what i override the build will fail if i use -sdk iphoneos in the command line. Any ideas/help would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: