Affects Version/s: Release 1.8.1
OS: Mac OS 10.6.8 & 10.7.2
Titanium Studio, build: 184.108.40.206201262211
WHile testing packaging with our pre-created Studio projects, I noticed that the first attempt to package failed with an error. This occurred regardless of using "project clean". The second attempt was successful and all further attempts. THis could be related to the test projects being put in the GIT repo with no "build" folder.
Studio error log:
Traceback (most recent call last):
File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/220.127.116.11/iphone/builder.py", line 1523, in <module>
File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/18.104.22.168/iphone/builder.py", line 661, in main
File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/22.214.171.124/iphone/iphone.py", line 46, in create
tiapp = TiAppXML(os.path.join(project_dir,'tiapp.xml'))
File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/126.96.36.199/iphone/../tiapp.py", line 52, in _init_
data = codecs.open(self.file,'r','utf-8','replace')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 881, in open
file = _builtin_.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: u'/Users/eric/iconTestUniversal copy/build/iphone/tiapp.xml'
Steps to reproduce:
1) Clone git repo: "titanum_mobile_tests_internal"
2) Import project "feature test/Packaging/IconTestUniversal"
3) Attempt to package for distribution (ad-hoc or distribution)
Packaging succeeds without error
Occurs in 188.8.131.52 with the same Project.
Does not occur with default project created with Studio
Did not occur with KS sample imported into studio
Attempt to package again. The first attempt fixes the problem, and the second attempt succeeds.