Titanium Mobile won't run in iOS emulator using compiler version 2.1.0 GA

You must Login before you can answer or comment on any questions.

hi, i cannot run my project into iOS simulator after upgrading a titanium mobile SDK.. here's my error code :

[ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/iphone/builder.py", line 971, in main project.create(template_dir,iphone_dir) File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/iphone/projector.py", line 165, in create self.copy_module_resources(from_,to_) File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/iphone/projector.py", line 118, in copy_module_resources processed = self.process_file(from_,to_) File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/iphone/projector.py", line 61, in process_file content = codecs.open(source,'r','utf-8','replace').read() File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 666, in read return self.reader.read(size) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 466, in read newdata = self.stream.read() IOError: [Errno 5] Input/output error

anyone know how to fix this?? thanks in advance..

1 Answer

Accepted Answer

Try a clean build and check that the new sdk is selected in TiApp.xml.

If still fails, tell us which versions of xCode, simulator, iOS, Titanium Studio and Titanium sdk are you using.

— answered 11 months ago by Javier Rayon
answer permalink
3 Comments
  • Hi Javier.. thanks for your answer.. i've tried clean, build and make sure that new SDK is selected on my TiApp.xml, but i still can't runs my project on iphone simulator and the error code still same.. here my program version :

    • Titanium SDK 2.1.0 (06/28/12 12:16 6e3cab6)
    • xCode Version 4.2 (4C199)
    • iPhone SDK version: 5.0
    • iOS 4.3 Simulator
    • Titanium Studio, build: 2.1.0.201206251749

    Thanks before..

    — commented 11 months ago by Michael Frans

  • Hi Javier, i've updated my titanium SDK to 2.1.1 Version and it works perfectly.. thank you :)

    — commented 11 months ago by Michael Frans

  • great ;)

    — commented 11 months ago by Javier Rayon

Your Answer

Think you can help? Login to answer this question!