[TIMOB-18169] iOS: Module - Cannot find some 32-bit modules if you launch an ad hoc packaged app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-01-08T22:04:50.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | qe-3.5.0, qe-nfc |
Reporter | Wilson Luu |
Assignee | Eric Merriman |
Created | 2014-12-09T22:58:53.000+0000 |
Updated | 2017-03-24T22:00:04.000+0000 |
Description
*Details:* If you ad hoc package your app with some 32-bit modules and launch the app, then the app will not be able to find them.
Reproduced with the following 32-bit modules:
||module||version||
|facebook|3.1.1|
|ti.map|2.0.6|
|com.appcelerator.apm|1.0.10|
Cannot reproduce with the following 32-bit modules:
||module||version||
|ti.touchid|1.0.1|
|ti.geofence|1.1.2|
|com.appcelerator.urlSession|*1.0.1 blocked by TIMOB-18168*|
|ti.coremotion|*1.0.1 blocked by TIMOB-18168*|
*Steps to reproduce:*
1. Create a Titanium app
2. Include the following 32-bit modules: facebook, ti.map, com.appcelerator.apm
3. Make sure to require them in your app.js:
var Facebook = require('facebook');
var Map = require('ti.map');
var Apm = require('com.appcelerator.apm');
4. Ad hoc package your app and install to device
*Actual:* Following errors will appear:
[ERROR] Application received error: Couldn't find module: facebook
// comment out the require facebook line to see this error
[ERROR] Application received error: Couldn't find module: ti.map
// comment out the require ti.map line to see this error
[ERROR] Application received error: Couldn't find module: com.appcelerator.apm
*Expected:* Should be able to launch an ad hoc packaged app with 32-bit modules or a warning indicating to use the latest modules.
Should I read this ticket as "make the build failure more obvious"?
Only if that is the expected behavior because the 32-bit module ti.touchid and ti.geofence are detected for ad hoc packaged apps.
Created ticket for CLI to fail build with a list of modules and the architectures they are missing. TIMOB-18176
This issue is fixed since a few major version, it cannot be reproduced anymore. Resolving!
Closing ticket as the issue cannot be reproduced and with reference to the previous comments.