[TIMOB-18196] iOS: add architecture to module not found message
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-12-12T21:13:48.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | Release 3.5.0, Release 4.0.0 |
Components | iOS |
Labels | n/a |
Reporter | Jon Alter |
Assignee | Jon Alter |
Created | 2014-12-12T21:08:28.000+0000 |
Updated | 2015-11-05T15:14:03.000+0000 |
Description
When an app is built using 3.5.0 or greater it will include a 64 bit slice. If that app is run on an arm64 device (5s, 6, etc), when it requires a module that does not have the arm64 slice, it fails with an exception with message:
Couldn't find module: ti.paint
We need to add a better message to make it clear what architecture the module is not found for.
Couldn't find module: ti.paint for architecture: arm64
PRs
master: https://github.com/appcelerator/titanium_mobile/pull/6475 3_5_X: https://github.com/appcelerator/titanium_mobile/pull/6476Test case:
Add the ios ti.map module v2.0.6 (Does not have 64bit slice) to the tiapp.xml
Run the code below
Tap on the window and the error message displayed should include the architecture that is missing from the module (x86_64 or arm64)
Verified fixed, using: Titanium SDK 3.5.0.v20150106224118 Studio 3.4.1.201410281743 Xcode 6.1.1 On: iPad mini, iOS 8.1 iPhone 6, iOS 8.2b3 iPhone 4S Sim, iOS 8.1 iPhone 6 Sim, iOS 8.1
This appears to be causing ALOY-1249