Run On Device (iOS) first execution always fails.

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

Hi All,

when ever I attempt to run on device, it fails on first time, when I click a second time, it executes correctly. It seems to be that Studio does not clean properly as I always get the same error:

[INFO] One moment, building ...
Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/builder.py", line 1406, in <module>
    main(sys.argv)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/builder.py", line 569, in main
    shutil.rmtree(build_out_dir)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 225, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 223, in rmtree
    os.rmdir(path)
OSError: [Errno 66] Directory not empty: '/Volumes/srv/devel/Test-Keytoolbar/build/iphone/build'
Anyone else get this?

— asked 2 years ago by Nick The Geek
3 Comments
  • I had this too a while ago, I don't know why that is.. I would like to know this answer too.

    — commented 2 years ago by Tjeu Vdw

  • What version of studio are you using, and what OSX version are you running?

    Do you get this all the time? or is it random? (i get that the second time it works, but is this pattern 100% consistant?)

    — commented 2 years ago by Matt Apperson

  • Hi Matt,

    100% consistent. OSX Lion, Ti Studio 1.0.2.201107130739, SDK 1.7.2.

    — commented 2 years ago by Nick The Geek

Your Answer

Think you can help? Login to answer this question!