Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

After trying to fix andriod, Iphone emulator won't run

After updating the android builder (android now works) I cannot fire up the iphone emulator:

[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.2.1/iphone/builder.py", line 678, in <module>
main(sys.argv)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.2.1/iphone/builder.py", line 201, in main
fd = open(source_lib,'rb')
IOError: [Errno 2] No such file or directory: '/Library/Application Support/Titanium/mobilesdk/osx/1.2.1/iphone/libTiCore.a'

file file in question line 201 +- 4

    # if using custom modules, we have to force rebuild each time for now
    if force_rebuild==False and ti.properties.has_key('modules') and len(ti.properties['modules']) > 0:
        force_rebuild = True

    fd = open(source_lib,'rb')
    m = hashlib.md5()
    m.update(fd.read(1024)) # just read 1K, it's binary
    new_lib_hash = m.hexdigest()
    fd.close()

L678

if __name__ == "__main__":
    main(sys.argv)
— asked May 1st 2010 by Matthew Ford
  • builder.py
  • iphone
0 Comments

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.