Building Issue

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

I'm using 1.7.1 mobile SDK with Titanium Studio... When I'm running my app for iPhone i get this

[ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line 1139, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=LOG__ID=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s" % (log_id,sdk_version,debugstr)],False) File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line 1057, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/run.py", line 39, in run sys.exit(rc) SystemExit: 65

Is anybody already has this issue?

— asked 2 years ago by Oussama Ghalbzouri
3 Comments
  • some problem here! any fix?

    — commented 2 years ago by Facu Zak

  • PLEASE appcelerator team, give us a fix or at least a workaround...

    — commented 2 years ago by Oussama Ghalbzouri

  • Okay, I think I've found the source...

    Whenever I try to add whatever module in tiapp.xml, it give this error.

    Very weird.

    — commented 2 years ago by Oussama Ghalbzouri

5 Answers

Clean your app_root/build/iphone folder and try again.

— answered 2 years ago by Dan Tamas
answer permalink
3 Comments
  • Clean this folder is something I do 10 times per day since I'm using Titanium. Thanks anyway

    — commented 2 years ago by Oussama Ghalbzouri

  • This is not normal. To me it happens only when I really screw up with the SDK versions or I add modules to a later stage of the app.

    — commented 2 years ago by Dan Tamas

  • I know it's not normal, but I do it every time the python file display errors... It happens often with Titanium Developper but less since I am on Studio... But well, it's not the subject of the issue.

    — commented 2 years ago by Oussama Ghalbzouri

I'm not sure if I remember well, but I think I got this error when trying to compile a project which was not encoded in UTF-8. Maybe you should check the encoding of your files.

— answered 2 years ago by Thibault Delval
answer permalink
3 Comments
  • They already are in UTF-8. thanks anyway

    — commented 2 years ago by Oussama Ghalbzouri

  • Maybe if you're really stuck, you can try to make a clean (re)install of XCode. I asked a friend that once had this traceback, it was because Titanium was unable to find iPhone simulator.

    — commented 2 years ago by Thibault Delval

  • Yeah that's what I am doing. Thanks for your help! (Egalement ravi de savoir qu'il existe d'autres parisiens utilisant Appcelerator :p)

    — commented 2 years ago by Oussama Ghalbzouri

Hello. I've had a similar build problem (see here for details) which I've just resolved. The problem for me was a single file, info.plist, in the wrong place. I had it in the Resources directory instead of the root. So it wasn't an encoding problem.

So I think you have to go over your project structure in some detail to check everything's where it should be. The real reason I'm posting here is I think we would all save a lot of time if the build errors were more informative. This is the second problem of this sort I've had (the last one WAS an encoding problem) and the second time I've wasted time on a trial and error solution.

Please can we have better error information. Go on, you know it makes sense.

— answered 2 years ago by Darren Wallace
answer permalink
2 Comments
  • Thanks for your help. In my case, info.plist is in the root of build directory so sadly, your solution does not fix my issue.

    After hours of headache, I am now sure that my issue has to deal with the fact the builder (python file) has problems with parsing the module in the tiapp.xml...

    I never should have installed the last version of Titanium Studio.... Anyway to REALLY make a clean install ?

    — commented 2 years ago by Oussama Ghalbzouri

  • did you find a solution?

    — commented 2 years ago by Andrew Mussey

My solution to the problem: http://developer.appcelerator.com/question/122000/build-error---fine-in-simulator-wont-build-for-ios-device#answer-212309

i got error when i compile app for iPhone sdk 4.1, titanium sdk 1.7.1

[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line 1139, in main
    execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s" % (log_id,sdk_version,debugstr)],False)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line 1057, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 1

Your Answer

Think you can help? Login to answer this question!