问题描述
我在模拟器或设备上运行我的应用时遇到此错误:[ERROR] : Script Error Couldn't find module: ti.storekit
.设备显示红色屏幕,并显示相同的错误.我已经将该模块解压缩到〜/Library/Application Support/Titanium/modules/iphone/中.在该目录中,我现在有ti.storekit/3.0.0/.我的tiapp.xml中有这个:
I'm getting this error running my app on a simulator or device: [ERROR] : Script Error Couldn't find module: ti.storekit
. The device shows a red screen with the same error. I have unzipped the module into ~/Library/Application Support/Titanium/modules/iphone/. In that directory I now have ti.storekit/3.0.0/. I have this in my tiapp.xml:
<module platform="iphone" version="3.0.0">ti.storekit</module>
我浏览了Google,此网站和Appcelerator论坛,但没有找到适合我的解决方案.
I've trolled google, this site, and the appcelerator forum and found no solutions that work for me.
Titanium SDK:Titanium命令行界面,CLI版本3.4.0,Titanium SDK版本3.4.0.GA
Titanium SDK: Titanium Command-Line Interface, CLI version 3.4.0, Titanium SDK version 3.4.0.GA
平台和版本:iOS 6.1
Platform & version: iOS 6.1
设备:iPod 5
主机操作系统:OSX Mavericks
Host Operating System: OSX Mavericks
Titanium Studio:3.4.0.201409261227
Titanium Studio: 3.4.0.201409261227
我在任何日志中都没有看到其他相关的信息,但是我很乐意发布任何内容.有人有什么想法吗?谢谢您的宝贵时间.
I don't see anything else relevant in any logs but I am happy to post anything. Anybody have any ideas? Thanks for your time.
推荐答案
我认为问题是tiapp.xml文件中的第二个空modules
标记.
I think the problem was a second empty modules
tag in the tiapp.xml file.
这篇关于Titanium Appcelerator-找不到模块ti.storekit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!