Amalgamation problems with Xcode 6.4 when compiling for device



I followed your instruction to from here:

When compiling for the simulator everything works fine, but when compiling for the device I see the following error in the config.log:

-- snip ---
configure:2891: checking whether the C compiler works
configure:2913: gcc -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2   conftest.c  >&5
ld: warning: ignoring file /Applications/, missing required architecture x86_64 in file /Applications/ (3 slices)
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:2917: $? = 1
configure:2955: result: no
configure: failed program was:
| /* confdefs.h */
-- snip ---

The result is, that there’s no sqlite3.c and the project fails to compile. I saw that there was a similar issue (Unable to configure and make sqlite3.c from Xcode 6.1), but I am already using the latest master branch :frowning: .

Any idea how I can fix this?

Thank you!

Cheers, Michael