Steps to reproduce:
1. Make sure you have both modules with
apiversion
2 & 3. ( e.g: I have module ver 2.0.0 & 1.2.7 for hyperloop).
2. In the
tiapp.xml
select
latest
for any module.
3. Build the app for android device/emulator.
Actual results:
1. You will get error:
[ERROR] : Found incompatible Titanium Modules:
[ERROR] : id: hyperloop version: 1.2.7 platform: android min sdk: 5.4.0
[ERROR] : id: ti.map version: 2.3.10 platform: android min sdk: 4.1.0
2. Basically it does not select the latest even though avaliable or somehow finds module with apiversion 2 & throws an incompatiblity error.
Expected result:
1. If
latest
is selected in the tiapp.xml & SDK 6.0.0 is selected it should not matter if I have a module with apiversion 2, it should pickup one with apiversion 3 & build.
node-appc PR: https://github.com/appcelerator/node-appc/pull/119
tisdk master PR: https://github.com/appcelerator/titanium_mobile/pull/8398 tisdk 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8399
Verified the fix. Selecting
latest
selects the latest & we do not see any incompatibility error when modules with both ApiVersion 2 & 3 are present. Closing. Environment: Appc Studio : 4.8.0.201609101003 Ti SDK : 6.0.0.v20160919100523 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.8-6 Appc CLI : 6.0.0-46 Node: 4.4.4 Nexus 6 - Android 6.0.1