问题
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>
I've trolled google, this site, and the appcelerator forum and found no solutions that work for me.
Titanium SDK: Titanium Command-Line Interface, CLI version 3.4.0, Titanium SDK version 3.4.0.GA
Platform & version: iOS 6.1
Device: iPod 5
Host Operating System: OSX Mavericks
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.
回答1:
https://github.com/appcelerator-modules/ti.storekit
download this module and add it in module directory of titanium studio.
回答2:
I think the problem was a second empty modules
tag in the tiapp.xml file.
来源:https://stackoverflow.com/questions/26492278/titanium-appcelerator-couldnt-find-module-ti-storekit