[TIMOB-19491] Remove sqlite3 module and update to latest ioslib
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-09-25T00:17:25.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.1.0 |
Components | Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2015-09-10T14:32:18.000+0000 |
Updated | 2015-11-17T22:48:35.000+0000 |
Description
The sqlite3 module is a liability. It is maintained by a 3rd party and may not always be compatible with the latest version of Node.js.
Since all sqlite is used for is querying Xcode teams, we can simply query the teams using the sqlite3 executable. This executable should be available on every Mac OS X machine, especially since we know Xcode is installed.
ioslib 0.6.9 has been updated to remove the sqlite dependency, but it's still referenced by Titanium SDK.
Master PR: https://github.com/appcelerator/titanium_mobile/pull/7161 5_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/7162
Note: If you are using SDK 5.0.2.GA and have Node.js 4.2.1 on your machine, then you will encounter this issue:
To workaround this issue (until the fix is released), you will need to switch your Node.js version to lower than 4.X.X i.e. Node.js 0.12.X and below should still work.
Closing ticket as fixed. Verified that the sqlite3 Node module is removed from SDK 5.1.0 and you can build to iOS device and simulator with Node 0.10.X, 0.12.X and 4.X.X. Tested on: Appcelerator Studio, build: 4.4.0.201510280736 Appc CLI NPM: 4.2.1 Appc CLI Core: 5.1.0-38 Arrow: 1.3.13 SDK: 5.1.0.v20151028143628 Node: 0.10.38, 0.12.7, 4.2.1 OS: El Capitan (10.11.1) Xcode: 7.1 Device: iphone 6 plus (9.1), iphone simulator (9.1)