New project starts with old app.js file!

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

As I start a new project Titanium opens (automaticly) an old app.js file I've deleted days ago. When I try to Run this (or new) file a crash occurs: SystemExit: 1 I'm working on a Mac with OS 10.6.8 with Titanium Studio SDK version 1.8.2 and iPhone SDK 4.1. I did reinstall Titanium after trowing away all my projects, the application folder, the cache folder and com.appcelerator.titanium.plist. I used Onyx to clean up the system. Can anybody help?

— asked 1 year ago by paul Spannenberg
2 Comments
  • Hi Paul,

    can you post the full error or log?

    so anyone can help you more.

    — commented 1 year ago by Gaurang Chhatbar

  • Hello Gaurang, Thanks for the quick response. The build.log takes more then 7 pages containing mostly SETENV codes. I copied only the last part.

    My app,js is just a simple window:

    var window = Titanium.UI.createWindow({ backgroundColor: 'red' }); window.open();

    The error code:

    setenv XCODE_VERSION_MAJOR 0300
    setenv XCODE_VERSION_MINOR 0320
    setenv YACC /Developer/usr/bin/yacc
    /bin/sh -c /Volumes/DataHD/TitaniumWorkspace/testje/build/iphone/build/testje.build/Debug-iphonesimulator/testje-universal.build/Script-DABB37B812E8CB280026A6EA.sh
    

    post-compile ** BUILD FAILED **

    The following build commands failed: testje-universal: CompileC build/testje.build/Debug-iphonesimulator/testje-universal.build/Objects-normal/i386/TiUIiOSAdViewProxy.o /Volumes/DataHD/TitaniumWorkspace/testje/build/iphone/Classes/TiUIiOSAdViewProxy.m normal i386 objective-c com.apple.compilers.gcc.4_2 (1 failure)

    EXIT CODE WAS: 1

    Exception detected in script: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py", line 1294, 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 %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py", line 1200, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/run.py", line 39, in run sys.exit(rc) SystemExit: 1

    — commented 1 year ago by paul Spannenberg

Your Answer

Think you can help? Login to answer this question!