Searched for this error on forums but couldn't find it so asking.
I get: [ERROR] Could not find the following required iOS modules: [ERROR] id: a.testmodule version: 0.1 [ERROR] Error: Traceback (most recent call last): File "/Users/<username>/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/iphone/builder.py", line 809, in main exit(1) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 364, in call raise SystemExit(code) SystemExit: 1
when I try to build my app using my built successfully module.
SDK 2.1.0.GA, Mac OS X 10.7.4
3 Answers
I have also tried to use a different project that didn't use any modules. To make it use one of the modules that other projects DO work with. and get:
[INFO] One moment, building ... [WARN] Could not find Titanium Module id: co.ui.modulea, version: 1.0, platform: iphone [ERROR] Could not find the following required iOS modules: [ERROR] id: co.ui.modulea version: 1.0 [ERROR] Error: Traceback (most recent call last): File "/Users/<username>/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/builder.py", line 807, in main exit(1) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 364, in __call__ raise SystemExit(code) SystemExit: 1I did notice however, that if i went back to sdk 1.8.2 it did build but generated an exception on
var ModuleA = require( 'CO.UI.ModuleA' );Until I changed the tiapp.xml to have CASE SENSITIVE entries e.g.
<module version="1.0">CO.UI.ModuleA</module>instead of
<module version="1.0">co.ui.modulea</module>Using the overview tab of tiapp.xml pressing the + in the 'Modules' area seems to add the module with all lowercase characters !!!
Curiously when it has been changed to the correct case it appears in the overview tab with a yellow triangle containing an exclamation mark saying it is not supported ! However the build AND simulator(s) AND device(s) say otherwise.
Hope this helps someone else
You have to install the module under /Library//Application Support/Titanium/modules/iphone/
Hi David,Not sure by looking at the error log which you provided the exact cause of this error, but one thing you can try is, UPDATE your markdown parser from the following link: and that should resolve this error.
it seems to relate with python and that is a possible solution which i tried at my end and get it resolved.
Steps to upgrade md are :
- Download the latest release from http://code.google.com/p/python-markdown2/
- Unzip the resulting download
- Using the setup.py script in the directory that was created from expanding the zip file you downloaded, install with
sudo python setup.py install - Re-run build.py
Your Answer
Think you can help? Login to answer this question!