Comments (2)
Try using the -destination
parameter instead of the -sdk
parameter for command-line xcodebuild
of SQLiteLib.
For example (assuming Xcode 8.3+ on macOS 10.12):
To build for macOS, 64-bit, Release mode:
xcodebuild -scheme sqlitelib -destination 'platform=macOS,arch=x86_64' -configuration 'Release'
To build for 'Generic iOS Device', Release mode:
xcodebuild -scheme sqlitelib -destination 'platform=iOS' -configuration 'Release'
To build for a specific iOS Simulator, Release mode (example):
xcodebuild -scheme sqlitelib -destination 'platform=iOS Simulator,name=iPhone 6s,OS=10.3' -configuration 'Release'
(More details on these options can be found here: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html)
from sqlitelib.
Thanks, using -destination
parameter instead of -sdk
works.
But, to build for 'Generic iOS Device' in Release mode I had to use the following:
xcodebuild -scheme sqlitelib -destination 'generic/platform=iOS' -configuration 'Release'
from sqlitelib.
Related Issues (14)
- Xcode 10 and i386 HOT 3
- return code 77 (permission denied) issue HOT 1
- How to clear architecture warnings in Xcode 11 HOT 1
- Xcode 11 doesn't seem to resolve "Unable to find ... SQLiteLib-USER.xcconfig"
- SQLite 3.30.1 HOT 3
- Suggestion: Create Swift Package Manager SPM version HOT 1
- Getting SQLITE_CANTOPEN
- Wow, why you make it so complicated to build it??
- Missing libsqlitecustom.a HOT 1
- Does this only build SQLite as an amalgamation?
- Errory trying to use sqlite with ICU enabled
- Sqlite error 14 with a custom sqlite HOT 5
- Can't compile on macOS Sierra HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlitelib.