简体   繁体   中英

Can't run Hyperloop project

I've downloaded the latest SDK from master as explained here: http://builds.appcelerator.com/#master

I've also downloaded the latest Hyperloop from here http://labs.appcelerator.com/project/55f74a9f421c44837717716b/Hyperloop-Module and followed the instructions in the PDF file.

I created a new Alloy project, in tiapp.xml I've created the plugin and module and ran my empty project. it didn't seem to complete compilation. it is stuck on:

[INFO] :   Alloy compiler completed successfully
[WARN] :   Hyperloop is currently available in Beta and should not be used for production applications.
[INFO] :   Starting Hyperloop assembly
[INFO] :   Skipping Hyperloop compile, no usage found ...

I have also tried downloading the Hyperloop examples project. Output was a little different there - but still did not complete compilation. Here's the output:

[INFO] :   Alloy compiler completed successfully
[WARN] :   Hyperloop is currently available in Beta and should not be used for production applications.
[INFO] :   Starting Hyperloop assembly
[INFO] :   [Hyperloop] Building CocoaPods dependencies
[WARN] :   The iOS framework "javax.crypto.KeyGenerator" could not be found. Are you trying to use "JavaScriptCore" or "JBChartView" instead? (android/alloy/controllers/touchid.js)
[WARN] :   The iOS framework "javax.crypto.Cipher" could not be found. Are you trying to use "JavaScriptCore" or "JBChartView" instead? (android/alloy/controllers/touchid.js)

The instruction PDF mentioned that I need to download SDK 5.2.0 - but it doesn't exists in builds - so I downloaded 6.0.0.xxxxxxx

How can I make Hyperloop run?

Judging by..

[WARN] :   The iOS framework "javax.crypto.KeyGenerator" could not be found. Are you trying to use "JavaScriptCore" or "JBChartView" instead? (android/alloy/controllers/touchid.js)
[WARN] :   The iOS framework "javax.crypto.Cipher" could not be found. Are you trying to use "JavaScriptCore" or "JBChartView" instead? (android/alloy/controllers/touchid.js)

it looks like you compile for iOS, while HL still tries to parse the Android specific controllers - which it shouldn't. This bug has already been reported at the Appcelerator JIRA and can be tracked via:

https://jira.appcelerator.org/browse/AC-563

To download a 5_2_x nightly you could use appc ti sdk install -b 5_2_x .

Titanium SDK 5.4.0.GA和Hyperloop 1.2.0已修复此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM