问题描述
我在这里解释的主机下载了最新的SDK: http://builds.appcelerator.com/#master
我还从这里下载了最新的hyperloop http://labs.appcelerator. COM/PROJECT/55F74A9F421C44837717716B/HyperLoop-Module 并遵循PDF文件中的说明.
我创建了一个新的合金项目,在tiapp.xml我创建了plugin和module并运行了我的空项目.它似乎并没有完成汇编.它被困住:
[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 ...
我还尝试下载HyperLoop示例项目.输出有点不同 - 但仍然没有完全编译.这是输出:
[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)
指令PDF提到我需要下载SDK 5.2.0 - 但它不存在于构建中 - 所以我下载了6.0.0.xxxxxxx
如何使hyperloop运行?
推荐答案
判断..
[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)
看起来你编写ios,而HL仍然试图解析Android特定的控制器 - 它不应该.此错误已经在Appcelerator Jira报告,可以通过以下方式跟踪:
https://jira.appcelerator.org/browse/ac-563
下载5_2_x,您可以使用appc ti sdk install -b 5_2_x.
其他推荐答案
此问题已通过Titanium SDK 5.4.0.ga和Hyperloop 1.2.0修复.
问题描述
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.
其他推荐答案
This issue has been fixed with Titanium SDK 5.4.0.GA and Hyperloop 1.2.0.