Can't run Hyperloop project

人盡茶涼 提交于 2020-01-04 02:45:06

问题


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?


回答1:


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.




回答2:


This issue has been fixed with Titanium SDK 5.4.0.GA and Hyperloop 1.2.0.



来源:https://stackoverflow.com/questions/34817022/cant-run-hyperloop-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!