Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23764] Default app created with 6.0.0 SDK comes pre populated with hyperloop 2.0.0 & in tiapp.xml & build fails as 2.0.0 is not downloaded

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-08-23T20:34:06.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.0.0
ComponentsAndroid, iOS
Labelsqe-6.0.0
ReporterLokesh Choudhary
AssigneeChee Kiat Ng
Created2016-08-11T20:53:35.000+0000
Updated2016-08-23T20:35:28.000+0000

Description

Steps To Reproduce:

1. Create a new default app with 6.0.0 SDK mentioned in the environment. 2. Open the tiapp.xml. 3. You will see the tiapp.xml is set to hyperloop 2.0.0. 4. Build the app for android/ios.

Actual Result:

1. The build fails as it can't find hyperloop 2.0.0. It is not downloaded when creating a new project. 2. Also, hovering over the hyperloop version in the tiapp.xml gives us message "The hyperloop module does not support android platform for Titanium SDK 6.0.0.v20160810073036" & same for Iphone. *NOTE*- Attached screenshot for reference.

Expected Results:

1. The tiapp.xml should come pre populated with the supported version & not show any messages.

Attachments

FileDateSize
Screen Shot 2016-08-11 at 12.48.46 PM.png2016-08-11T20:53:22.000+0000155786
Screen Shot 2016-08-17 at 9.28.24 AM.png2016-08-17T16:29:15.000+000029658

Comments

  1. Chee Kiat Ng 2016-08-15

    [~lchoudhary] Is this in preprod or prod? preprod should work. And have you tried from CLI?
  2. Lokesh Choudhary 2016-08-16

    [~cng], this is in preprod. Let me try from CLI. EDIT: In preprod, I tried from CLI & removed hyperloop module from my titanum/android/modules folder. Created a new app using appc new. Enabled services & hyperloop. It downloaded hyperloop 1.2.6. The tiapp.xml has hyperloop set to 2.0.0 in the new project, building the project from CLI fails as it can't find hyperloop module 2.0.0
    [ERROR] Could not find all required Titanium Modules:
       [ERROR]    id: hyperloop	 version: 2.0.0	 platform: android	 deploy-type: development
  3. Chee Kiat Ng 2016-08-17

    Hmm. [~pkclark] Can you help me check on the above? I'm not sure if I gave you the correct 2.0.0 package for hyperloop on preprod. ^
  4. Patrick Clark 2016-08-17

    [~cng] -you didn't, but I see it. Will be up on preprod momentarily.- It's already on preprod as of last Monday 8/8. Paging [~fmiao]... this is referenced in the downloads payload in the hyperloop module's versions property.
  5. Feon Sua Xin Miao 2016-08-17

    [~cng], [~pkclark], This is the link in the payload https://appcelerator-preprod-modules.s3.amazonaws.com/hyperloop-2.0.0.zip, download and unzip it, the folder is versioned 1.2.6.
  6. Patrick Clark 2016-08-17

    [~fmiao] -seems to be versioned properly within the zip.- Ha! I'm wrong. There was a new zip that corrected this and is now on preprod. Good catch.
  7. Chee Kiat Ng 2016-08-22

    [~lchoudhary] Test this on preprod again?
  8. Feon Sua Xin Miao 2016-08-22

    [~pkclark], https://appcelerator-preprod-modules.s3.amazonaws.com/hyperloop-2.0.0.zip returns:
       <Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>42EEF45389D50861</RequestId><HostId>zHoGKXVHOKLYsW1+siFqfOQROdPWHFCXKg2KVPgPuvijXdu1TJ3+xf1bb2JGoM2t57ef/v2X9Zc=</HostId></Error>
       
  9. Patrick Clark 2016-08-22

    [~fmiao] it was missing READ rights. Should be good now.
  10. Lokesh Choudhary 2016-08-23

    Verified the fix. Hyperloop 2.0.0 is downloaded & app builds fine. Environment: Appc Studio : 4.7.1.201608190732 Ti SDK : 6.0.0.v20160822001523 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.7 Appc CLI : 6.0.0-26 Node: 4.4.4 Nexus 6 - Android 6.0.1
  11. Lokesh Choudhary 2016-08-23

    [~cng], Can you change the resolution to fixed, so that I can close it.
  12. Feon Sua Xin Miao 2016-08-23

    [~lchoudhary] does Not Our Bug work?
  13. Lokesh Choudhary 2016-08-23

    Closing as verified fixed I the above comments.

JSON Source