Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18169] iOS: Module - Cannot find some 32-bit modules if you launch an ad hoc packaged app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-01-08T22:04:50.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sn/a
Componentsn/a
Labelsqe-3.5.0, qe-nfc
ReporterWilson Luu
AssigneeEric Merriman
Created2014-12-09T22:58:53.000+0000
Updated2017-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.

Comments

  1. Ingo Muschenetz 2014-12-10

    Should I read this ticket as "make the build failure more obvious"?
  2. Wilson Luu 2014-12-10

    Only if that is the expected behavior because the 32-bit module ti.touchid and ti.geofence are detected for ad hoc packaged apps.
  3. Jon Alter 2014-12-10

    Created ticket for CLI to fail build with a list of modules and the architectures they are missing. TIMOB-18176
  4. Hans Knöchel 2017-01-08

    This issue is fixed since a few major version, it cannot be reproduced anymore. Resolving!
  5. Lee Morris 2017-03-24

    Closing ticket as the issue cannot be reproduced and with reference to the previous comments.

JSON Source