iOS 4.2 Build onto Device Fails
Hi
I am trying to deploy my final BETA onto the device before I build for distribution, however I keep getting an install failed.
Below is the report from the build.log, can anyone shed any light? I am on a really tight timescale :(
** BUILD FAILED **
The following build commands failed:
Knight Finder:
PhaseScriptExecution Pre-Compile "/Users/thesargenator/Titanium/Knight Finder/build/iphone/build/Knight Finder.build/Release-iphoneos/Knight Finder.build/Script-241EAF36118E30260081A5BE.sh"
(1 failure)
EXIT CODE WAS: 1
Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 994, in main
execute_xcode("iphoneos%s" % iphone_version,args,False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 790, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1
8 Answers
-
Accepted Answer
I seen the strange image issue as well. I had to remove files in and out to narrow it down and it turns out if you save an jpg into .png file type or vice-versa, you get that error. I spent countless hours figuring this out but that was the issue for me. Maybe titanium will fix it but I'm not counting on it, I just watch the images when I save them.
-
This happens also when your code has some syntax errors.
-
Can you open up the Xcode project and debug it on device?
I get errors attempting to build on device through Titanium… I have to do it through Xcode…
-
I've just get this error. And I found this bug occurs due to my app has a "strange" .png image. This image is originally in .jpeg (find in google images) and i convert & resize it to .png format. After remove this "invalid" image, my app run normally.
Check you app and tell me if using my method, you can fix this bug :)
-
bump for justin..
-
Bump, I have tried everything today. And I cant downgrade to 4.1 iOS. So am really at a loss now. Still unable to build onto the device with either Ti or xCode
-
Ok, I managed to finally get onto my device. However I am now having another different error when trying to package for distribution! Arhhhhhh
So this is the latest build failure message:
** BUILD FAILED ** The following build commands failed: Knight Finder: PhaseScriptExecution Pre-Compile "/Users/thesargenator/Titanium/Knight Finder/build/iphone/build/Knight Finder.build/Release-iphoneos/Knight Finder.build/Script-241EAF36118E30260081A5BE.sh" Ld "/Users/thesargenator/Titanium/Knight Finder/build/iphone/build/Knight Finder.build/Release-iphoneos/Knight Finder.build/Objects-normal/armv6/Knight Finder" normal armv6 (2 failures) EXIT CODE WAS: 1 Exception detected in script: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 1047, in main execute_xcode("iphoneos%s" % iphone_version,args,False) File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 790, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/run.py", line 31, in run sys.exit(rc) SystemExit: 1
-
I am getting that last exit code 2 error as well, any solutions?