GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-03-10T14:33:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules, Titanium SDK & CLI |
Labels | ios |
Reporter | Raymond Verbruggen |
Assignee | Mostafizur Rahman |
Created | 2016-03-07T10:13:32.000+0000 |
Updated | 2016-03-10T14:33:33.000+0000 |
I get the following error when compiling an existing SDK 3.5.1 project for SDK 5:
[INFO] : Found Titanium module id=it.logicainformatica.dropdown version=1.02 platform=iphone deploy-type=development path=/Users/raymond/Library/Application Support/Titanium/modules/iphone/it.logicainformatica.dropdown/1.02
/Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
throw e;
^
TypeError: Invalid Version: 1.02.0
at new SemVer (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:273:11)
at compare (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:460:10)
at Function.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:494:10)
at Object.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/version.js:57:16)
at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:296:23
at Array.forEach (native)
at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:276:10
at Array.forEach (native)
at detect.callback (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:229:37)
at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:170:51
---------------------------------------------
at exports.execFile (child_process.js:691:9)
at exports.exec (child_process.js:578:18)
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/node-appc/lib/environ.js:267:3
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:251:17
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:154:25
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:248:21
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:612:34
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/node-appc/lib/environ.js:234:7
TRACE | titanium exited with exit code 8
ERROR | Error: ti run exited with error code 8
Hello, What version of SDK are you using to develop now? Use 5.2.0.GA. It looks you have "it.logicainformatica.dropdown" module configured in your app. Now, this module is for Android and you are developing for iOS. I would suggest you remove the module configuration from the tiapp.xml of your app and do a clean build of the project. See if the app builds without the module configuration. As I see your other issue was closed being not reproducible, I would recommend you send us the full project to test in out environment. Let us know the feedback. Thanks.
Hello, As described in the title of this ticket, it happens both in Ti SDK 4.x and 5.x. The module is for both Android and iOS. In the description you can read that it works for Ti SDK 3.5.1 for iOS. Please see the original ticket AC-159 which was closed for additional info. Thanks.
Please send us the full reproducible project for us to test in our environment. Thanks.
How? Add a zip file to this ticket?
I will send the module separately. OK?
Yes, attach the sample project as zip file in here.
done please remove all attached files after downloading, this is not an open source project thanks
Hello Sharif, Any news?
Hello, I tried to reproduce the issue with your code, Looks like you are using some other module 'ti.udp' "co.realtime.ortc" in your app. I downloaded the ti.udp module from here https://github.com/appcelerator-modules/ti.udp/releases. Please attach "co.realtime.ortc" module and any other third party module (ex: it.logicainformatica.dropdown) you are using in your app, to this ticket. Can you try running "ti-64" in your project terminal and see if your ti.udp module has 64-bit support or not. If not, you can download from the link. Your modules need 64bit support for SDK 5.2.0.GA and IOS 9.0. Thanks.
Hello Sharif, I attached the 2 modules. The UDP module is not the one you used. Thanks! I am very curious how you proceed.
Hello, I just able to load your app with SDK 5.2.0.GA. No issue no error what so ever. See the screenshot. I will keep looking into it. Thanks.
Hello, I see what you mean. Pls see my screenshot also....
Appcelerator Command-Line Interface, version 5.2.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-03-09T20:27:33.108Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2016-03-09T20:27:33.112Z | TRACE | checking credentials for existing session 2016-03-09T20:27:33.511Z | TRACE | Attempting to load session info from config file 2016-03-09T20:27:33.518Z | TRACE | check if session is invalidated 2016-03-09T20:27:34.419Z | TRACE | session expiry 1458160015211 false 2016-03-09T20:27:34.420Z | TRACE | Arrow Cloud config file: /Users/raymond/.acs 2016-03-09T20:27:34.425Z | TRACE | found Arrow Cloud login { mid: '2d67571461c369d8ca16826cc35e164e5d7fc77a', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'ray@raymondverbruggen.nl', cookie: [ 'connect.sid=s%3AosBxdUHeHm0BQ46DORPgx4%2FX.vZvcN7add4R%2BHZXGIck9yyEQ9FZToz1YPwSk8N0cMlk; Path=/; Expires=Wed, 23 Mar 2016 20:26:58 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-03-09T20:27:34.427Z | TRACE | Arrow Cloud cookie expiry [ 1458764818000 ] 2016-03-09T20:27:34.427Z | TRACE | session already loaded in opts.session 2016-03-09T20:27:34.430Z | TRACE | getCredentials() session: { "ipaddress": "192.168.1.105", "username": "ray@raymondverbruggen.nl", "password": "
BUT... on my iMac there is no problem, with exactly the same modules and source code (copied from my macbook)....
I copied the directory structure from library-application support-titanium from iMac to Macbook and it works. Tomorrow I will try to find out why. It's not possible to find why Appcelerator installation differs between iMac and Macbook. Maybe some leftovers from earlier installations? More people have similar issues, so must be something reproducible. So I have to give up for now. Thanks
Hello, I did not get your screenshots. The issue is not reproducible from our end. Try a clean installation in your Macbook and try rebuilding the app. I am closing the ticket, The ticket can be reopened once you have some more info. Thanks.