Check all Appcelerator Titanium project and/or global modules for 64-bit iOS support.
npm install ti-64Check all Appcelerator Titanium iOS modules you have installed in a project or global for 64-bit iOS support.
Apple requires new apps to include 64-bit support starting Feb 1, while updated have until June 1.
Follow these simple steps to update your own and OSS modules to support 64-bit.
As global CLI:
$ npm install -g ti-64
As module:
$ npm install ti-64 --save
Check local and global modules required in a project's tiapp.xml:
~/project $ ti-64
$ ti-64 --project-dir ~/project
Check all global modules:
$ ti-64 --global
Check all lib..a files under a given path:
$ ti-64 .
Check a specific lib..a file:
$ ti-64 build/libmy.module.a
Get the output as JSON:
$ ti-64 --output json
{
"err": null,
"res": {
"analytics.google": {
"name": "analytics.google",
"has64": false,
"versions": [
{
"name": "analytics.google",
"version": "1.0",
"path": "/path/to/analytics.google/1.0",
"global": true,
"architectures": [
"armv7",
"i386"
],
"has64": false
}
]
}
}
}
``
var ti64 = require('ti-64');
ti64({
projectDir: './project',
// global: true,
// path: './build/my.module.a'
}, function handle(err, res) {
if (err) {
console.error(err);
} else {
for (var module in res) {
consolemodule.has64 ? 'log' : 'error';
for (var version in module.version) {
consoleversion.has64 ? 'log' : 'error' + ') ' + (version.error || version.architectures.join(' ')));
}
}
}
});
`
2.1.0: Adds checking a given or all lib.a files for a given path-g` still requiring to be run in project
* 2.0.0: Adds JSON output, Groups results by module, Improves error when ran outside of project, Adds update notification
* 1.1.0: Improved module API, Fixes #2, Fixes
* 1.0.0: Initial version