Titanium JIRA Archive
Appcelerator Community (AC)

[AC-721] Not able to compile application when using ti.map module v2.2.1or higher

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-03-10T18:38:32.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
Componentsn/a
Labelsfeedback
ReporterPraveen Kodakkad
AssigneeShak Hossain
Created2016-03-07T21:31:28.000+0000
Updated2016-03-10T18:38:32.000+0000

Description

2016-03-07T21:28:31.786Z | TRACE | Attempting to load session info from config file 2016-03-07T21:28:31.790Z | TRACE | check if session is invalidated 2016-03-07T21:28:32.242Z | TRACE | session expiry 1457983578936 false 2016-03-07T21:28:32.244Z | TRACE | session already loaded in opts.session 2016-03-07T21:28:32.247Z | DEBUG | Titanium Downloads Last Checked: 1457379244817 3/7/2016, 4:28:35 PM Operating System Name = Mac OS X Version = 10.11.3 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.6 Titanium SDK SDK Version = 5.2.0.GA SDK Path = /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA Target Platform = iphone Command /usr/local/bin/node /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/lib/titanium.js build run --platform ios --log-level trace --sdk 5.2.0.GA --project-dir /Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp --target device --ios-version 9.2 --device-family iphone --developer-name Jery George (8PDE55428L) --device-id 76a8b82d2a3d4726f83523bf18caaff2c533bea4 --pp-uuid 719c4c3b-4fe6-4cb8-b877-01a36dd6493c --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 59362 --username pravi.pravi@gmail.com --password c0medi2ool --config-file /var/folders/sf/rvnxytjd17b0_sbmx47h9jzr0000gn/T/build-1457386112245.json --no-banner --project-dir /Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp [INFO] : Found Titanium module id=ti.imagefactory version=1.2.0 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/ti.imagefactory/1.2.0 [INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=test path=/Users/user1/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9 [INFO] : Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=test path=/Users/user1/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.10 [INFO] : Found Titanium module id=facebook version=3.2.0 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/facebook/3.2.0 [INFO] : Found better matching module id=facebook version=latest platform=ios,iphone deploy-type=test path=/Users/user1/Library/Application Support/Titanium/modules/iphone/facebook/5.0.1 [INFO] : Found Titanium module id=ti.xmmpchat version=1.0.0 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/ti.xmmpchat/1.0.0 [INFO] : Found Titanium module id=timodule.videoupload version=1.0 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/timodule.videoupload/1.0 [INFO] : Found Titanium module id=com.ti.videoexport version=1.0 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/com.ti.videoexport/1.0 [INFO] : Found Titanium module id=ti.paint version=1.3 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/ti.paint/1.3 [INFO] : Found Titanium module id=ti.map version=2.3.2 platform=iphone deploy-type=test path=/Users/user1/Documents/Appcelerator_Studio_Workspace/MyMapApp/modules/iphone/ti.map/2.3.2 2016-03-07T21:28:35.263Z | ERROR | An uncaught exception was thrown! 2016-03-07T21:28:35.265Z | ERROR | Invalid Version: 2.2.0_64 Invalid Version: 2.2.0_64 2016-03-07T21:28:35.265Z | TRACE | TypeError: Invalid Version: 2.2.0_64 at new SemVer (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/semver/semver.js:293:11) at SemVer.compare (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/semver/semver.js:346:13) at compare (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/semver/semver.js:569:31) at Function.lt (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/semver/semver.js:603:10) at Object.lt (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/version.js:57:16) at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/timodule.js:296:23 at Array.forEach (native) at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/timodule.js:276:10 at Array.forEach (native) at Object.detect.callback (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/timodule.js:229:37) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at iOSBuilder.selectDevice (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/iphone/cli/commands/_build.js:1727:13) at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at process._tickCallback (node.js:355:11) --------------------------------------------- at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:275:35 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:44:16 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:694:17 at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:173:37 at iOSBuilder.validateExtensions (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/iphone/cli/commands/_build.js:1393:13) at /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:689:13 at iterate (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:265:13) at async.forEachOfSeries.async.eachOfSeries (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:284:9) at _parallel (/Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/node-appc/node_modules/async/lib/async.js:688:9) --------------------------------------------- at Object.exports.execFile (child_process.js:821:9) at exports.exec (child_process.js:649:18) at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/node-appc/lib/environ.js:267:3 at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:697:13 at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:52:16 at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:272:32 at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:44:16 at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:694:17 at /Users/user1/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:173:37

Comments

  1. Sharif AbuDarda 2016-03-08

    Hello, I have tested the map module in iOS. The map module seems work as expected. I am using SDK 5.2.0.GA with ti.map version 2.5.2 in iOS 9.1. Below is the sample code I am using to test.
       var Map = require('ti.map');
       
       var win = Titanium.UI.createWindow({
           //backgroundColor : 'blue',
           fullscreen : true,
       });
       
       var createMapIcon = function createMapIconFn(number) {
       
           var image = Ti.UI.createView({
               height : Ti.UI.SIZE,
               width : Ti.UI.SIZE,
               backgroundColor : 'transparent',
       
           });
           var imageBack = Ti.UI.createView({
               height : 34,
               width : 34,
               borderRadius : 17,
               backgroundColor : 'white',
               borderColor : 'black',
               top : 0,
           });
       
           imageBack.add(Ti.UI.createLabel({
               text : number,
               color : 'black',
               width : Ti.UI.SIZE,
               height : Ti.UI.SIZE,
               top : 5
       
           }));
           image.add(imageBack);
           return image;
       };
       
       var ann = [];
       
       for (var i = 0; i < 10; i++) {
       
           ann.push(Map.createAnnotation({
       
               customView : createMapIcon(i),
               latitude : Math.random() * 10 + 40,
               longitude : Math.random() * 10,
       
           }));
       }
       
       var mapview = Map.createView({
           annotations : ann,
           bottom : 0,
           right : 0,
           width : Ti.UI.FILL,
           height : Ti.UI.FILL,
           showsCompass : false,
           rotateEnabled : false,
           compassEnabled : false,
           mapType : Map.HYBRID_TYPE,
           showsPointsOfInterest : false,
           userLocation : true,
       
       });
       win.add(mapview);
       win.open();
       
    Please send a reproducible code to test and steps to follow.
       Operating System
         Name                        = Mac OS X
         Version                     = 10.11.3
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 8589934592
       Node.js
         Node.js Version             = 4.2.2
         npm Version                 = 2.14.7
       Titanium CLI
         CLI Version                 = 5.0.6
       Titanium SDK
         SDK Version                 = 5.2.0.GA
         Target Platform             = iphone
       

JSON Source