-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build sqlite3 autoconf dependency on iOS 11, Xcode 9 #19
Comments
Is there a workaround for this? I have been unsuccessful thus far. |
Download Xcode 8.3.3 |
I've got Xcode 9.3.1. This is the main error I'm getting:
|
Can change build environment to older xcode version. use "xcode-select -s" command Download Xcode 8.3.3 from apple developer site Rename download and extracted Xcode.app to Xcode8.3.3.app and drop in Application folder -- |
Thanks so much for the reply! I will give this a try and let you know how it goes :) |
SQLite3-autoconf builds shell utility by default (shell.c -> sqlite3[.exe]).
It uses system() call that was deprecated in iOS 8:
'system' is deprecated: first deprecated in iOS 8.0 - Use posix_spawn APIs instead.
In iOS 11 system() was disabled:
__swift_unavailable_on("Use posix_spawn APIs or NSTask instead.", "Process spawning is unavailable")
__API_AVAILABLE(macos(10.0)) __IOS_PROHIBITED
__WATCHOS_PROHIBITED __TVOS_PROHIBITED
int system(const char *) __DARWIN_ALIAS_C(system);
#undef __swift_unavailable_on
sqlite3 configure does not have option to exclude shell utility from makefile
So you need to modify makefile or replace "make clean install" command with targets excluding shell utility.
The text was updated successfully, but these errors were encountered: