Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8509] Error when upgrading Xcode 3.x to 4.2 (unusable install)

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-04-05T10:36:32.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMauro Parra-Miranda
AssigneeNeeraj Gupta
Created2012-04-03T13:32:15.000+0000
Updated2014-06-19T12:43:27.000+0000

Description

Problem Description

we used xCode 3.X for some time with Ti Studio (latest), today we upgraded to xCode 4.2 on top of OSX snow leopard. Now, we can't build anyome, any project, new or old, including Kitchen Sink results in.

Actual Results

[INFO] Detected third-party module: ti.barcode/1.7 [INFO] Detected third-party module: ti.barcode/1.7 [INFO] Titanium SDK version: 1.8.1 (01/27/12 17:31 a24502a) [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 5.0 [INFO] iPhone simulated device: iphone [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.1/iphone/builder.py", line 1286, 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.1/iphone/builder.py", line 1192, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.1/iphone/run.py", line 39, in run sys.exit(rc) SystemExit: 65 when trying to run directly from xCode we get this error: env: python: No such file or directory

Expected Results

The machine working fine after upgrading Xcode.

Extra info

Host OS: Mac OS X
OS Arch: x86
JRE Version: 1.6.0_29
JRE Vendor: Apple Inc.
JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Install Directory: file:/Applications/Titanium Studio/
Version: 1.0.9.201202141208
VM Arguments: -Xms40m
-Xmx1024m
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Xdock:icon=../Resources/titanium.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Djava.class.path=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

Workspace Directory: file:/Users/admin/Documents/Titanium Studio Workspace/
Language: iw_IL

Titanium Desktop SDK Version: 1.0.0
Titanium Desktop SDK Location: /Library/Application Support/Titanium/sdk/osx/1.0.0

Titanium Desktop SDK Version: 1.1.0
Titanium Desktop SDK Location: /Library/Application Support/Titanium/sdk/osx/1.1.0


Titanium Mobile SDK Version: 1.5.1
Mobile SDK Timestamp: 12/16/10 16:25
Mobile SDK Build Number: 16bbb92
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.5.1

Titanium Mobile SDK Version: 1.6.0
Mobile SDK Timestamp: 02/23/11 12:34
Mobile SDK Build Number: 9882e81
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.0

Titanium Mobile SDK Version: 1.6.1
Mobile SDK Timestamp: 03/15/11 11:45
Mobile SDK Build Number: 2fdc0c5
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.1

Titanium Mobile SDK Version: 1.6.2
Mobile SDK Timestamp: 04/18/11 17:16
Mobile SDK Build Number: 878906d
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.2

Titanium Mobile SDK Version: 1.6.3
Mobile SDK Timestamp: 05/06/11 13:57
Mobile SDK Build Number: 87b34a7...
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.3

Titanium Mobile SDK Version: 1.7.0
Mobile SDK Timestamp: 06/06/11 18:05
Mobile SDK Build Number: 64155ee
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.0

Titanium Mobile SDK Version: 1.7.2
Mobile SDK Timestamp: 07/21/11 09:36
Mobile SDK Build Number: 97c3689
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.2

Titanium Mobile SDK Version: 1.7.3
Mobile SDK Timestamp: 10/17/11 13:44
Mobile SDK Build Number: dcf4257
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.3

Titanium Mobile SDK Version: 1.8.1
module_apiversion=2
Mobile SDK Timestamp: 01/27/12 17:31
Mobile SDK Build Number: a24502a
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.8.1

Titanium Mobile SDK Version: 1.8.2
module_apiversion=2
Mobile SDK Timestamp: 02/23/12 17:46
Mobile SDK Build Number: 59b3a90
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2

Comments

  1. Ingo Muschenetz 2012-04-03

    If it doesn't work directly from Xcode, then I think this is a SDK bug. Otherwise, based on the error you saw with "python not found", I saw something similar before. Restarting the machine fixed it.
  2. Mauro Parra-Miranda 2012-04-03

    Running this with the Mobile Team.
  3. Mauro Parra-Miranda 2012-04-04

    Hello, Asked the customer to reinstall everything, and he still gets the issue: completly uninstalled xCode, using special command line tool completly uninstalled Ti Studio, by dragging it to Trash deleted the .titanium folder deleted the Titanium Studio Workspace folder in my home folder cleared the trahcan updated the system to the latest Apple updates redownloaded copies of studio and xCode (dmg) restarted install xCode 4.2.1 for snow leopard install Ti studio updated Ti studio updated Ti studio SDK (Downloads SDK 1.8.2) check the Help menu and STILL see Aptana instead of studio sub menu created a new project using the master detail template build for the iPhone simulator result : [INFO] One moment, building ... [INFO] Titanium SDK version: 1.8.2 (02/23/12 17:46 59b3a90) [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 5.0 [INFO] iPhone simulated device: iphone [INFO] Performing full rebuild. This will take a little bit. Hold tight... [INFO] Skipping JS compile, running from simulator [INFO] Compiling localization files [ERROR] [ERROR] Error: 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: 65 Log file !SESSION 2012-04-04 19:07:28.955 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_31 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=iw_IL Framework arguments: -keyring /Users/admin/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/admin/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui 4 4 2012-04-04 19:10:49.827 !MESSAGE Unable to find Action Set: com.aptana.editor.php.presentation !ENTRY org.eclipse.core.net 1 0 2012-04-04 19:10:59.742 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences Diagnostics: Host OS: Mac OS X OS Arch: x86 JRE Version: 1.6.0_31 JRE Vendor: Apple Inc. JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Install Directory: file:/Applications/Titanium Studio/ Version: 1.0.9.201202141208 VM Arguments: -Xms40m -Xmx1024m -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000 -Declipse.log.backup.max=5 -Xdock:icon=../Resources/titanium.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Djava.class.path=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar Workspace Directory: file:/Users/admin/Documents/Titanium Studio Workspace/ Language: iw_IL Titanium Desktop SDK Version: 1.1.0 Titanium Desktop SDK Location: /Library/Application Support/Titanium/sdk/osx/1.1.0 Titanium Mobile SDK Version: 1.7.5 Mobile SDK Timestamp: 11/02/11 17:00 Mobile SDK Build Number: ab20af7 Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.5 Titanium Mobile SDK Version: 1.8.2 module_apiversion=2 Mobile SDK Timestamp: 02/23/12 17:46 Mobile SDK Build Number: 59b3a90 Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2 build.log ================================================================================ Appcelerator Titanium Diagnostics Build Log The contents of this file are useful to send to Appcelerator Support if reporting an issue to help us understand your environment, build settings and aid in debugging. Please attach this log to any issue that you report. ================================================================================ Starting build at 04/04/12 19:17 Build details: timestamp=02/23/12 17:46 module_apiversion=2 version=1.8.2 githash=59b3a90 Script arguments: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py simulator 5.0 /Users/admin/Documents/Titanium Studio Workspace/test il.co.jwtdigital.test test iphone iphone Building from: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone Platform: Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 Xcode path is: /Developer githash=59b3a90, existing_git_hash=None forcing rebuild since libhash (None) not matching (086dba02ebf4956989e6555c3d754630) Performing full rebuild Generated the following stylecode code: http://www.apple.com/DTDs/PropertyList-1.0.dtd"> classes classes_density ids ids_density tags tags_density Starting Xcode compile with the following arguments: xcodebuild -target test -configuration Debug -sdk iphonesimulator5.0 GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=cce014fc-46af-4972-b5c0-548769538a59 DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=1.8.2 IPHONEOS_DEPLOYMENT_TARGET=4.0 TARGETED_DEVICE_FAMILY=1 app_id = il.co.jwtdigital.test Build settings from command line: GCC_PREPROCESSOR_DEFINITIONS = __LOG__ID__=cce014fc-46af-4972-b5c0-548769538a59 DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=1.8.2 IPHONEOS_DEPLOYMENT_TARGET = 4.0 SDKROOT = iphonesimulator5.0 TARGETED_DEVICE_FAMILY = 1 === BUILD NATIVE TARGET test OF PROJECT test WITH CONFIGURATION Debug === Check dependencies ProcessInfoPlistFile build/Debug-iphonesimulator/test.app/Info.plist Info.plist cd "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone" setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin‭:‬‭/‬usr/bin‭:/‬bin‭:/‬usr/sbin‭:/‬sbin" builtin-infoPlistUtility Info.plist -genpkginfo "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator/test.app/PkgInfo" -expandbuildsettings -format binary -platform iphonesimulator -o "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator/test.app/Info.plist" PhaseScriptExecution Pre-Compile build/test.build/Debug-iphonesimulator/test.build/Script-241EAF36118E30260081A5BE.sh cd "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone" setenv ACTION build setenv ALTERNATE_GROUP staff setenv ALTERNATE_MODE u+w,go-w,a+rX setenv ALTERNATE_OWNER admin setenv ALWAYS_SEARCH_USER_PATHS NO setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer setenv APPLE_INTERNAL_DIR /AppleInternal setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools setenv APPLY_RULES_IN_COPY_FILES NO setenv ARCHS i386 setenv ARCHS_STANDARD_32_BIT i386 setenv ARCHS_UNIVERSAL_IPHONE_OS i386 setenv AVAILABLE_PLATFORMS "iphonesimulator macosx iphoneos" setenv BUILD_COMPONENTS "headers build" setenv BUILD_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build" setenv BUILD_ROOT "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build" setenv BUILD_STYLE setenv BUILD_VARIANTS normal setenv BUILT_PRODUCTS_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator" setenv CACHE_ROOT /var/folders/ne/netdKKPbFD0pDNltAqb6KU+++TI/-Caches-/com.apple.Xcode.501 setenv CCHROOT /var/folders/ne/netdKKPbFD0pDNltAqb6KU+++TI/-Caches-/com.apple.Xcode.501 setenv CHMOD /bin/chmod setenv CHOWN /usr/sbin/chown setenv CLASS_FILE_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/JavaClasses" setenv CLEAN_PRECOMPS YES setenv CLONE_HEADERS NO setenv CODESIGNING_FOLDER_PATH "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator/test.app" setenv CODE_SIGN_IDENTITY "iPhone Developer" setenv COMMAND_MODE legacy setenv COMPOSITE_SDK_DIRS /var/folders/ne/netdKKPbFD0pDNltAqb6KU+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs setenv COMPRESS_PNG_FILES YES setenv CONFIGURATION Debug setenv CONFIGURATION_BUILD_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator" setenv CONFIGURATION_TEMP_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator" setenv CONTENTS_FOLDER_PATH test.app setenv COPYING_PRESERVES_HFS_DATA NO setenv COPY_PHASE_STRIP NO setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES setenv CP /bin/cp setenv CURRENT_ARCH i386 setenv CURRENT_VARIANT normal setenv DEAD_CODE_STRIPPING NO setenv DEBUGGING_SYMBOLS YES setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym setenv DEFAULT_COMPILER com.apple.compilers.llvm.clang.1_0 setenv DEPLOYMENT_LOCATION NO setenv DEPLOYMENT_POSTPROCESSING NO setenv DERIVED_FILES_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/DerivedSources" setenv DERIVED_FILE_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/DerivedSources" setenv DERIVED_SOURCES_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/DerivedSources" setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications setenv DEVELOPER_BIN_DIR /Developer/usr/bin setenv DEVELOPER_DIR /Developer setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\"" setenv DEVELOPER_LIBRARY_DIR /Developer/Library setenv DEVELOPER_SDK_DIR /Developer/SDKs setenv DEVELOPER_TOOLS_DIR /Developer/Tools setenv DEVELOPER_USR_DIR /Developer/usr setenv DEVELOPMENT_LANGUAGE English setenv DOCUMENTATION_FOLDER_PATH test.app/English.lproj/Documentation setenv DO_HEADER_SCANNING_IN_JAM NO setenv DSTROOT /tmp/test.dst setenv DWARF_DSYM_FILE_NAME test.app.dSYM setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO setenv DWARF_DSYM_FOLDER_PATH "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator" setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator setenv ENABLE_HEADER_DEPENDENCIES YES setenv ENABLE_OPENMP_SUPPORT NO setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".DS_Store .svn .git .hg CVS" setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj" setenv EXECUTABLES_FOLDER_PATH test.app/Executables setenv EXECUTABLE_FOLDER_PATH test.app setenv EXECUTABLE_NAME test setenv EXECUTABLE_PATH test.app/test setenv FILE_LIST "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/Objects/LinkFileList" setenv FIXED_FILES_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/FixedFiles" setenv FRAMEWORKS_FOLDER_PATH test.app/Frameworks setenv FRAMEWORK_FLAG_PREFIX -framework setenv FRAMEWORK_SEARCH_PATHS "\"/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator\" " setenv FRAMEWORK_VERSION A setenv FULL_PRODUCT_NAME test.app setenv GCC3_VERSION 3.3 setenv GCC_C_LANGUAGE_STANDARD c99 setenv GCC_DYNAMIC_NO_PIC NO setenv GCC_ENABLE_CPP_RTTI NO setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES setenv GCC_OBJC_LEGACY_DISPATCH YES setenv GCC_OPTIMIZATION_LEVEL 0 setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++" setenv GCC_PRECOMPILE_PREFIX_HEADER YES setenv GCC_PREFIX_HEADER test_Prefix.pch setenv GCC_PREPROCESSOR_DEFINITIONS "__LOG__ID__=cce014fc-46af-4972-b5c0-548769538a59 DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=1.8.2 " setenv GCC_SYMBOLS_PRIVATE_EXTERN YES setenv GCC_TREAT_WARNINGS_AS_ERRORS NO setenv GCC_VERSION com.apple.compilers.llvm.clang.1_0 setenv GCC_WARN_ABOUT_RETURN_TYPE NO setenv GCC_WARN_MISSING_PARENTHESES NO setenv GCC_WARN_SHADOW NO setenv GCC_WARN_STRICT_SELECTOR_MATCH NO setenv GCC_WARN_UNUSED_FUNCTION YES setenv GCC_WARN_UNUSED_PARAMETER NO setenv GCC_WARN_UNUSED_VALUE NO setenv GCC_WARN_UNUSED_VARIABLE NO setenv GENERATE_MASTER_OBJECT_FILE NO setenv GENERATE_PKGINFO_FILE YES setenv GENERATE_PROFILING_CODE NO setenv GID 20 setenv GROUP staff setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES setenv HEADER_SEARCH_PATHS "\"/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator/include\" /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/include/libxml2 headers" setenv ICONV /usr/bin/iconv setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES setenv INFOPLIST_FILE Info.plist setenv INFOPLIST_OUTPUT_FORMAT binary setenv INFOPLIST_PATH test.app/Info.plist setenv INFOPLIST_PREPROCESS NO setenv INFOSTRINGS_PATH test.app/English.lproj/InfoPlist.strings setenv INSTALL_DIR /tmp/test.dst/Applications setenv INSTALL_GROUP staff setenv INSTALL_MODE_FLAG u+w,go-w,a+rX setenv INSTALL_OWNER admin setenv INSTALL_PATH /Applications setenv INSTALL_ROOT /tmp/test.dst setenv IPHONEOS_DEPLOYMENT_TARGET 4.0 setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8" setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub setenv JAVA_ARCHIVE_CLASSES YES setenv JAVA_ARCHIVE_TYPE JAR setenv JAVA_COMPILER /usr/bin/javac setenv JAVA_FOLDER_PATH test.app/Java setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources setenv JAVA_JAR_FLAGS cv setenv JAVA_SOURCE_SUBDIR . setenv JAVA_USE_DEPENDENCIES YES setenv JAVA_ZIP_FLAGS -urg setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO" setenv KEEP_PRIVATE_EXTERNS NO setenv LD_GENERATE_MAP_FILE NO setenv LD_MAP_FILE_PATH "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/test-LinkMap-normal-i386.txt" setenv LD_NO_PIE NO setenv LD_OPENMP_FLAGS -fopenmp setenv LEGACY_DEVELOPER_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer setenv LEX /Developer/usr/bin/lex setenv LIBRARY_FLAG_NOSPACE YES setenv LIBRARY_FLAG_PREFIX -l setenv LIBRARY_SEARCH_PATHS "\"/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator\" \"/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/lib\"" setenv LINKER_DISPLAYS_MANGLED_NAMES NO setenv LINK_FILE_LIST_normal_i386 "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/Objects-normal/i386/test.LinkFileList" setenv LINK_WITH_STANDARD_LIBRARIES YES setenv LOCALIZED_RESOURCES_FOLDER_PATH test.app/English.lproj setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities setenv LOCAL_APPS_DIR /Applications setenv LOCAL_DEVELOPER_DIR /Library/Developer setenv LOCAL_LIBRARY_DIR /Library setenv MACH_O_TYPE mh_execute setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv MAC_OS_X_PRODUCT_BUILD_VERSION 10K549 setenv MAC_OS_X_VERSION_ACTUAL 1068 setenv MAC_OS_X_VERSION_MAJOR 1060 setenv MAC_OS_X_VERSION_MINOR 0608 setenv NATIVE_ARCH i386 setenv NATIVE_ARCH_32_BIT i386 setenv NATIVE_ARCH_64_BIT x86_64 setenv NATIVE_ARCH_ACTUAL x86_64 setenv NO_COMMON YES setenv OBJC_ABI_VERSION 2 setenv OBJECT_FILE_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/Objects" setenv OBJECT_FILE_DIR_normal "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/Objects-normal" setenv OBJROOT "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build" setenv ONLY_ACTIVE_ARCH NO setenv OPTIMIZATION_LEVEL 0 setenv OS MACOS setenv OSAC /usr/bin/osacompile setenv OTHER_CFLAGS "-DDEBUG -DTI_POST_1_2" setenv OTHER_CPLUSPLUSFLAGS "-DDEBUG -DTI_POST_1_2" setenv OTHER_LDFLAGS "-ObjC -weak_framework iAd -weak_framework iAd" setenv PACKAGE_TYPE com.apple.package-type.wrapper.application setenv PASCAL_STRINGS YES setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin‭:‬‭/‬usr/bin‭:/‬bin‭:/‬usr/sbin‭:/‬sbin" setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms" setenv PBDEVELOPMENTPLIST_PATH test.app/pbdevelopment.plist setenv PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++" setenv PKGINFO_FILE_PATH "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/PkgInfo" setenv PKGINFO_PATH test.app/PkgInfo setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Tools setenv PLATFORM_DEVELOPER_USR_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr setenv PLATFORM_DIR /Developer/Platforms/iPhoneSimulator.platform setenv PLATFORM_NAME iphonesimulator setenv PLATFORM_PREFERRED_ARCH i386 setenv PLATFORM_PRODUCT_BUILD_VERSION 9A334 setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 50000 setenv PLIST_FILE_OUTPUT_FORMAT binary setenv PLUGINS_FOLDER_PATH test.app/PlugIns setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES setenv PRECOMP_DESTINATION_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/PrefixHeaders" setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO setenv PRIVATE_HEADERS_FOLDER_PATH test.app/PrivateHeaders setenv PRODUCT_NAME test setenv PRODUCT_SETTINGS_PATH "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/Info.plist" setenv PRODUCT_TYPE com.apple.product-type.application setenv PROFILING_CODE NO setenv PROJECT test setenv PROJECT_DERIVED_FILE_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/DerivedSources" setenv PROJECT_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone" setenv PROJECT_FILE_PATH "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/test.xcodeproj" setenv PROJECT_NAME test setenv PROJECT_TEMP_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build" setenv PUBLIC_HEADERS_FOLDER_PATH test.app/Headers setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES setenv REMOVE_CVS_FROM_RESOURCES YES setenv REMOVE_GIT_FROM_RESOURCES YES setenv REMOVE_HG_FROM_RESOURCES YES setenv REMOVE_SVN_FROM_RESOURCES YES setenv REZ_COLLECTOR_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/ResourceManagerResources" setenv REZ_OBJECTS_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/ResourceManagerResources/Objects" setenv REZ_SEARCH_PATHS "\"/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator\" " setenv RUN_CLANG_STATIC_ANALYZER NO setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO setenv SCRIPTS_FOLDER_PATH test.app/Scripts setenv SCRIPT_INPUT_FILE_COUNT 0 setenv SCRIPT_OUTPUT_FILE_COUNT 0 setenv SDKROOT /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk setenv SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk setenv SDK_NAME iphonesimulator5.0 setenv SDK_PRODUCT_BUILD_VERSION 9A334 setenv SED /usr/bin/sed setenv SEPARATE_STRIP NO setenv SEPARATE_SYMBOL_EDIT NO setenv SET_DIR_MODE_OWNER_GROUP YES setenv SET_FILE_MODE_OWNER_GROUP NO setenv SHALLOW_BUNDLE YES setenv SHARED_DERIVED_FILE_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator/DerivedSources" setenv SHARED_FRAMEWORKS_FOLDER_PATH test.app/SharedFrameworks setenv SHARED_PRECOMPS_DIR /var/folders/ne/netdKKPbFD0pDNltAqb6KU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders setenv SHARED_SUPPORT_FOLDER_PATH test.app/SharedSupport setenv SKIP_INSTALL NO setenv SOURCE_ROOT "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone" setenv SRCROOT "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone" setenv STRINGS_FILE_OUTPUT_ENCODING binary setenv STRIP_INSTALLED_PRODUCT YES setenv STRIP_STYLE all setenv SUPPORTED_DEVICE_FAMILIES "1 2" setenv SUPPORTED_PLATFORMS "iphonesimulator iphoneos" setenv SYMROOT "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build" setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities setenv SYSTEM_APPS_DIR /Applications setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices setenv SYSTEM_DEMOS_DIR /Applications/Extras setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples" setenv SYSTEM_DEVELOPER_DIR /Developer setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library" setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools" setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools" setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools" setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes" setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools" setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools" setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation setenv SYSTEM_LIBRARY_DIR /System/Library setenv TARGETED_DEVICE_FAMILY 1 setenv TARGETNAME test setenv TARGET_BUILD_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/Debug-iphonesimulator" setenv TARGET_NAME test setenv TARGET_TEMP_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build" setenv TEMP_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build" setenv TEMP_FILES_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build" setenv TEMP_FILE_DIR "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build" setenv TEMP_ROOT "/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build" setenv TEST_AFTER_BUILD YES setenv TI_APPID il.co.jwtdigital.test setenv TI_SDK_DIR "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone" setenv TI_VERSION 1.8.2 setenv UID 501 setenv UNLOCALIZED_RESOURCES_FOLDER_PATH test.app setenv UNSTRIPPED_PRODUCT NO setenv USER admin setenv USER_APPS_DIR /Users/admin/Applications setenv USER_LIBRARY_DIR /Users/admin/Library setenv USE_DYNAMIC_NO_PIC YES setenv USE_HEADERMAP YES setenv USE_HEADER_SYMLINKS NO setenv VALIDATE_PRODUCT NO setenv VALID_ARCHS i386 setenv VERBOSE_PBXCP NO setenv VERSIONPLIST_PATH test.app/version.plist setenv VERSION_INFO_BUILDER admin setenv VERSION_INFO_FILE test_vers.c setenv VERSION_INFO_STRING "\"@(#)PROGRAM:test PROJECT:test-\"" setenv WRAPPER_EXTENSION app setenv WRAPPER_NAME test.app setenv WRAPPER_SUFFIX .app setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode setenv XCODE_PRODUCT_BUILD_VERSION 4C199 setenv XCODE_VERSION_ACTUAL 0420 setenv XCODE_VERSION_MAJOR 0400 setenv XCODE_VERSION_MINOR 0420 setenv YACC /Developer/usr/bin/yacc /bin/sh -c "\"/Users/admin/Documents/Titanium Studio Workspace/test/build/iphone/build/test.build/Debug-iphonesimulator/test.build/Script-241EAF36118E30260081A5BE.sh\"" env: python: No such file or directory ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution Pre-Compile build/test.build/Debug-iphonesimulator/test.build/Script-241EAF36118E30260081A5BE.sh (1 failure) EXIT CODE WAS: 65 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: 65
  4. Mauro Parra-Miranda 2012-04-05

    Cliente nuked the offending machine, and installed Lion. It's working like a charm now.

JSON Source