Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-11968

CLI: Cannot run iOS 6 with simulator 5.1

    Details

      Description

      I have iOS 6 SDK and two simulators - 6.0 and 5.1.
      titanium info indicates this:

      Xcode
      4.5.2 (build 4G2008a)
        Install Location                                 = /Applications/Xcode.app/Contents/Developer
        iOS SDKs                                         = 6.0
        iOS Simulators                                   = 5.1, 6.0
      

      Running this command fails:

      titanium build --no-colors --no-prompt --platform iphone --sdk 3.1.0.v20121204181803 --log-level trace --target simulator --ios-version 6.0 --device-family iphone --sim-version 5.1
      

      The Trace output indicates an error, which looks like a mixup (look for [ERROR] Invalid --ios-version value '5.1'):

      Titanium Command-Line Interface, CLI version 3.0.19, Titanium SDK version 3.1.0.v20121204181803
      Copyright (c) 2012, Appcelerator, Inc.  All Rights Reserved.
      Please report bugs to http://jira.appcelerator.org/
      [DEBUG] :  No project level plugins to load
      [INFO] :  Build type: development
      [INFO] :  Building for target: simulator
      [INFO] :  Building using iOS SDK: 6.0
      [INFO] :  Building for iOS Simulator: 5.1
      [INFO] :  Building for device family: iphone
      [DEBUG] :  Loaded plugin hooks:
      [DEBUG] :  /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/cli/hooks/plugins.js
      [DEBUG] :  /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/iphone/cli/hooks/install.js
      [DEBUG] :  /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/iphone/cli/hooks/package.js
      [DEBUG] :  /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/iphone/cli/hooks/run.js
      [DEBUG] :  Titanium iOS SDK directory: /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/iphone
      [DEBUG] :  Setting Xcode target to Debug
      [DEBUG] :  Setting Xcode build OS to iphonesimulator5.1
      [DEBUG] :  Xcode installation: /Applications/Xcode.app/Contents/Developer
      [DEBUG] :  iOS WWDR certificate: installed
      [INFO] :  Building for iOS 6.0; using 4.3 as minimum iOS version
      [DEBUG] :  Minimum iOS version: 4.3
      [INFO] :  Debugging enabled via debug host: 10.0.12.130:50586
      [DEBUG] :  Building for the following architectures: armv7 armv7s i386
      [INFO] :  Building Info.plist
      [INFO] :  No Titanium Modules required, continuing
      [INFO] :  Creating symlinks for simulator build
      [DEBUG] :  Walking directory /Users/shalom/Documents/runtime-Titanium/IOSTesting/Resources
      [DEBUG] :  Symlinking /Users/shalom/Documents/runtime-Titanium/IOSTesting/Resources/app.js => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/app.js
      [DEBUG] :  Symlinking /Users/shalom/Documents/runtime-Titanium/IOSTesting/Resources/KS_nav_ui.png => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/KS_nav_ui.png
      [DEBUG] :  Symlinking /Users/shalom/Documents/runtime-Titanium/IOSTesting/Resources/KS_nav_views.png => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/KS_nav_views.png
      [DEBUG] :  Copying /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/iphone/modules/facebook/images => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/modules/facebook/images
      [DEBUG] :  Copying /Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20121204181803/iphone/modules/ui/images => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/modules/ui/images
      [DEBUG] :  Copying /Users/shalom/Documents/runtime-Titanium/IOSTesting/Resources/iphone => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app
      [INFO] :  No module resources to copy
      [INFO] :  No CommonJS modules to copy
      [DEBUG] :  Copying /Users/shalom/Documents/runtime-Titanium/IOSTesting/Resources/iphone/appicon.png => /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/appicon.png
      [TRACE] :  Build settings from command line:
      [TRACE] :      DEBUG = 1
      [TRACE] :      DEBUGGER_ENABLED = 1
      [TRACE] :      DEPLOYTYPE = development
      [TRACE] :      GCC_PREPROCESSOR_DEFINITIONS = __LOG__ID__=41c82f56-2d07-426b-9c24-b0c787bd5339
      [TRACE] :      IPHONEOS_DEPLOYMENT_TARGET = 4.3
      [TRACE] :      SDKROOT = iphonesimulator5.1
      [TRACE] :      TARGETED_DEVICE_FAMILY = 1
      [TRACE] :      TI_DEVELOPMENT = 1
      [TRACE] :      TI_VERSION = 3.1.0
      [TRACE] :      VALID_ARCHS = armv7 armv7s i386
      [TRACE] :  === BUILD NATIVE TARGET IOSTesting OF PROJECT IOSTesting WITH CONFIGURATION Debug ===
      [TRACE] :  Check dependencies
      [TRACE] :  ProcessInfoPlistFile build/Debug-iphonesimulator/IOSTesting.app/Info.plist Info.plist
      [TRACE] :      cd /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone
      [TRACE] :      setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
      [TRACE] :      builtin-infoPlistUtility Info.plist -genpkginfo /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app/Info.plist
      [TRACE] :  PhaseScriptExecution Pre-Compile build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Script-241EAF36118E30260081A5BE.sh
      [TRACE] :      cd /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone
      [TRACE] :      setenv ACTION build
      [TRACE] :      setenv ALTERNATE_GROUP staff
      [TRACE] :      setenv ALTERNATE_MODE u+w,go-w,a+rX
      [TRACE] :      setenv ALTERNATE_OWNER shalom
      [TRACE] :      setenv ALWAYS_SEARCH_USER_PATHS NO
      [TRACE] :      setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
      [TRACE] :      setenv APPLE_INTERNAL_DIR /AppleInternal
      [TRACE] :      setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
      [TRACE] :      setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
      [TRACE] :      setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
      [TRACE] :      setenv APPLY_RULES_IN_COPY_FILES NO
      [TRACE] :      setenv ARCHS i386
      [TRACE] :      setenv ARCHS_STANDARD_32_BIT i386
      [TRACE] :      setenv ARCHS_UNIVERSAL_IPHONE_OS i386
      [TRACE] :      setenv AVAILABLE_PLATFORMS "iphonesimulator macosx iphoneos"
      [TRACE] :      setenv BUILD_COMPONENTS "headers build"
      [TRACE] :      setenv BUILD_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build
      [TRACE] :      setenv BUILD_ROOT /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build
      [TRACE] :      setenv BUILD_STYLE 
      [TRACE] :      setenv BUILD_VARIANTS normal
      [TRACE] :      setenv BUILT_PRODUCTS_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator
      [TRACE] :      setenv CACHE_ROOT /var/folders/zj/8xjj6knx6wn1qvljm8sn879m0000gq/C/com.apple.Xcode.503
      [TRACE] :      setenv CCHROOT /var/folders/zj/8xjj6knx6wn1qvljm8sn879m0000gq/C/com.apple.Xcode.503
      [TRACE] :      setenv CHMOD /bin/chmod
      [TRACE] :      setenv CHOWN /usr/sbin/chown
      [TRACE] :      setenv CLASS_FILE_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/JavaClasses
      [TRACE] :      setenv CLEAN_PRECOMPS YES
      [TRACE] :      setenv CLONE_HEADERS NO
      [TRACE] :      setenv CODESIGNING_FOLDER_PATH /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/IOSTesting.app
      [TRACE] :      setenv CODE_SIGN_IDENTITY "iPhone Developer"
      [TRACE] :      setenv COMMAND_MODE legacy
      [TRACE] :      setenv COMPOSITE_SDK_DIRS /var/folders/zj/8xjj6knx6wn1qvljm8sn879m0000gq/C/com.apple.Xcode.503/CompositeSDKs
      [TRACE] :      setenv COMPRESS_PNG_FILES YES
      [TRACE] :      setenv CONFIGURATION Debug
      [TRACE] :      setenv CONFIGURATION_BUILD_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator
      [TRACE] :      setenv CONFIGURATION_TEMP_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator
      [TRACE] :      setenv CONTENTS_FOLDER_PATH IOSTesting.app
      [TRACE] :      setenv COPYING_PRESERVES_HFS_DATA NO
      [TRACE] :      setenv COPY_PHASE_STRIP NO
      [TRACE] :      setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
      [TRACE] :      setenv CP /bin/cp
      [TRACE] :      setenv CURRENT_ARCH i386
      [TRACE] :      setenv CURRENT_VARIANT normal
      [TRACE] :      setenv DEAD_CODE_STRIPPING NO
      [TRACE] :      setenv DEBUG 1
      [TRACE] :      setenv DEBUGGER_ENABLED 1
      [TRACE] :      setenv DEBUGGING_SYMBOLS YES
      [TRACE] :      setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
      [TRACE] :      setenv DEFAULT_COMPILER com.apple.compilers.llvm.clang.1_0
      [TRACE] :      setenv DEPLOYMENT_LOCATION NO
      [TRACE] :      setenv DEPLOYMENT_POSTPROCESSING NO
      [TRACE] :      setenv DEPLOYTYPE development
      [TRACE] :      setenv DERIVED_FILES_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/DerivedSources
      [TRACE] :      setenv DERIVED_FILE_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/DerivedSources
      [TRACE] :      setenv DERIVED_SOURCES_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/DerivedSources
      [TRACE] :      setenv DEVELOPER_APPLICATIONS_DIR /Applications/Xcode.app/Contents/Developer/Applications
      [TRACE] :      setenv DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/usr/bin
      [TRACE] :      setenv DEVELOPER_DIR /Applications/Xcode.app/Contents/Developer
      [TRACE] :      setenv DEVELOPER_FRAMEWORKS_DIR /Applications/Xcode.app/Contents/Developer/Library/Frameworks
      [TRACE] :      setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Applications/Xcode.app/Contents/Developer/Library/Frameworks\""
      [TRACE] :      setenv DEVELOPER_LIBRARY_DIR /Applications/Xcode.app/Contents/Developer/Library
      [TRACE] :      setenv DEVELOPER_SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
      [TRACE] :      setenv DEVELOPER_TOOLS_DIR /Applications/Xcode.app/Contents/Developer/Tools
      [TRACE] :      setenv DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/usr
      [TRACE] :      setenv DEVELOPMENT_LANGUAGE English
      [TRACE] :      setenv DOCUMENTATION_FOLDER_PATH IOSTesting.app/English.lproj/Documentation
      [TRACE] :      setenv DO_HEADER_SCANNING_IN_JAM NO
      [TRACE] :      setenv DSTROOT /tmp/IOSTesting.dst
      [TRACE] :      setenv DT_TOOLCHAIN_DIR /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
      [TRACE] :      setenv DWARF_DSYM_FILE_NAME IOSTesting.app.dSYM
      [TRACE] :      setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO
      [TRACE] :      setenv DWARF_DSYM_FOLDER_PATH /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator
      [TRACE] :      setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator
      [TRACE] :      setenv ENABLE_HEADER_DEPENDENCIES YES
      [TRACE] :      setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".DS_Store .svn .git .hg CVS"
      [TRACE] :      setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj"
      [TRACE] :      setenv EXECUTABLES_FOLDER_PATH IOSTesting.app/Executables
      [TRACE] :      setenv EXECUTABLE_FOLDER_PATH IOSTesting.app
      [TRACE] :      setenv EXECUTABLE_NAME IOSTesting
      [TRACE] :      setenv EXECUTABLE_PATH IOSTesting.app/IOSTesting
      [TRACE] :      setenv FILE_LIST /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Objects/LinkFileList
      [TRACE] :      setenv FIXED_FILES_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/FixedFiles
      [TRACE] :      setenv FRAMEWORKS_FOLDER_PATH IOSTesting.app/Frameworks
      [TRACE] :      setenv FRAMEWORK_FLAG_PREFIX -framework
      [TRACE] :      setenv FRAMEWORK_SEARCH_PATHS "\"/Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator\" "
      [TRACE] :      setenv FRAMEWORK_VERSION A
      [TRACE] :      setenv FULL_PRODUCT_NAME IOSTesting.app
      [TRACE] :      setenv GCC3_VERSION 3.3
      [TRACE] :      setenv GCC_C_LANGUAGE_STANDARD c99
      [TRACE] :      setenv GCC_DYNAMIC_NO_PIC NO
      [TRACE] :      setenv GCC_ENABLE_CPP_RTTI NO
      [TRACE] :      setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
      [TRACE] :      setenv GCC_OBJC_LEGACY_DISPATCH YES
      [TRACE] :      setenv GCC_OPTIMIZATION_LEVEL 0
      [TRACE] :      setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
      [TRACE] :      setenv GCC_PRECOMPILE_PREFIX_HEADER YES
      [TRACE] :      setenv GCC_PREFIX_HEADER IOSTesting_Prefix.pch
      [TRACE] :      setenv GCC_PREPROCESSOR_DEFINITIONS __LOG__ID__=41c82f56-2d07-426b-9c24-b0c787bd5339
      [TRACE] :      setenv GCC_SYMBOLS_PRIVATE_EXTERN YES
      [TRACE] :      setenv GCC_THUMB_SUPPORT NO
      [TRACE] :      setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
      [TRACE] :      setenv GCC_VERSION com.apple.compilers.llvm.clang.1_0
      [TRACE] :      setenv GCC_VERSION_IDENTIFIER com_apple_compilers_llvm_clang_1_0
      [TRACE] :      setenv GCC_WARN_ABOUT_RETURN_TYPE NO
      [TRACE] :      setenv GCC_WARN_MISSING_PARENTHESES NO
      [TRACE] :      setenv GCC_WARN_SHADOW NO
      [TRACE] :      setenv GCC_WARN_STRICT_SELECTOR_MATCH NO
      [TRACE] :      setenv GCC_WARN_UNUSED_FUNCTION YES
      [TRACE] :      setenv GCC_WARN_UNUSED_PARAMETER NO
      [TRACE] :      setenv GCC_WARN_UNUSED_VALUE NO
      [TRACE] :      setenv GCC_WARN_UNUSED_VARIABLE NO
      [TRACE] :      setenv GENERATE_MASTER_OBJECT_FILE NO
      [TRACE] :      setenv GENERATE_PKGINFO_FILE YES
      [TRACE] :      setenv GENERATE_PROFILING_CODE NO
      [TRACE] :      setenv GID 20
      [TRACE] :      setenv GROUP staff
      [TRACE] :      setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
      [TRACE] :      setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
      [TRACE] :      setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
      [TRACE] :      setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
      [TRACE] :      setenv HEADER_SEARCH_PATHS "/Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/include /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/include/libxml2 headers"
      [TRACE] :      setenv ICONV /usr/bin/iconv
      [TRACE] :      setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
      [TRACE] :      setenv INFOPLIST_FILE Info.plist
      [TRACE] :      setenv INFOPLIST_OUTPUT_FORMAT binary
      [TRACE] :      setenv INFOPLIST_PATH IOSTesting.app/Info.plist
      [TRACE] :      setenv INFOPLIST_PREPROCESS NO
      [TRACE] :      setenv INFOSTRINGS_PATH IOSTesting.app/English.lproj/InfoPlist.strings
      [TRACE] :      setenv INSTALL_DIR /tmp/IOSTesting.
      [TRACE] :  dst/Applications
      [TRACE] :      setenv INSTALL_GROUP staff
      [TRACE] :      setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
      [TRACE] :      setenv INSTALL_OWNER shalom
      [TRACE] :      setenv INSTALL_PATH /Applications
      [TRACE] :      setenv INSTALL_ROOT /tmp/IOSTesting.dst
      [TRACE] :      setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
      [TRACE] :      setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
      [TRACE] :      setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
      [TRACE] :      setenv JAVA_ARCHIVE_CLASSES YES
      [TRACE] :      setenv JAVA_ARCHIVE_TYPE JAR
      [TRACE] :      setenv JAVA_COMPILER /usr/bin/javac
      [TRACE] :      setenv JAVA_FOLDER_PATH IOSTesting.app/Java
      [TRACE] :      setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
      [TRACE] :      setenv JAVA_JAR_FLAGS cv
      [TRACE] :      setenv JAVA_SOURCE_SUBDIR .
      [TRACE] :      setenv JAVA_USE_DEPENDENCIES YES
      [TRACE] :      setenv JAVA_ZIP_FLAGS -urg
      [TRACE] :      setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
      [TRACE] :      setenv KEEP_PRIVATE_EXTERNS NO
      [TRACE] :      setenv LD_GENERATE_MAP_FILE NO
      [TRACE] :      setenv LD_MAP_FILE_PATH /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/IOSTesting-LinkMap-normal-i386.txt
      [TRACE] :      setenv LD_NO_PIE NO
      [TRACE] :      setenv LEGACY_DEVELOPER_DIR /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
      [TRACE] :      setenv LEX lex
      [TRACE] :      setenv LIBRARY_FLAG_NOSPACE YES
      [TRACE] :      setenv LIBRARY_FLAG_PREFIX -l
      [TRACE] :      setenv LIBRARY_SEARCH_PATHS "\"/Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator\"  \"/Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/lib\""
      [TRACE] :      setenv LINKER_DISPLAYS_MANGLED_NAMES NO
      [TRACE] :      setenv LINK_FILE_LIST_normal_i386 /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Objects-normal/i386/IOSTesting.LinkFileList
      [TRACE] :      setenv LINK_WITH_STANDARD_LIBRARIES YES
      [TRACE] :      setenv LOCALIZED_RESOURCES_FOLDER_PATH IOSTesting.app/English.lproj
      [TRACE] :      setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
      [TRACE] :      setenv LOCAL_APPS_DIR /Applications
      [TRACE] :      setenv LOCAL_DEVELOPER_DIR /Library/Developer
      [TRACE] :      setenv LOCAL_LIBRARY_DIR /Library
      [TRACE] :      setenv MACH_O_TYPE mh_execute
      [TRACE] :      setenv MACOSX_DEPLOYMENT_TARGET 10.6
      [TRACE] :      setenv MAC_OS_X_PRODUCT_BUILD_VERSION 11G63b
      [TRACE] :      setenv MAC_OS_X_VERSION_ACTUAL 1075
      [TRACE] :      setenv MAC_OS_X_VERSION_MAJOR 1070
      [TRACE] :      setenv MAC_OS_X_VERSION_MINOR 0705
      [TRACE] :      setenv NATIVE_ARCH i386
      [TRACE] :      setenv NATIVE_ARCH_32_BIT i386
      [TRACE] :      setenv NATIVE_ARCH_64_BIT x86_64
      [TRACE] :      setenv NATIVE_ARCH_ACTUAL x86_64
      [TRACE] :      setenv NO_COMMON YES
      [TRACE] :      setenv OBJC_ABI_VERSION 2
      [TRACE] :      setenv OBJECT_FILE_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Objects
      [TRACE] :      setenv OBJECT_FILE_DIR_normal /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Objects-normal
      [TRACE] :      setenv OBJROOT /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build
      [TRACE] :      setenv ONLY_ACTIVE_ARCH NO
      [TRACE] :      setenv OPTIMIZATION_LEVEL 0
      [TRACE] :      setenv OS MACOS
      [TRACE] :      setenv OSAC /usr/bin/osacompile
      [TRACE] :      setenv OTHER_CFLAGS "-DDEBUG -DTI_POST_1_2"
      [TRACE] :      setenv OTHER_CPLUSPLUSFLAGS "-DDEBUG -DTI_POST_1_2"
      [TRACE] :      setenv OTHER_LDFLAGS "-ObjC -weak_framework iAd -weak_framework iAd"
      [TRACE] :      setenv PACKAGE_TYPE com.apple.package-type.wrapper.application
      [TRACE] :      setenv PASCAL_STRINGS YES
      [TRACE] :      setenv PATH "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
      [TRACE] :      setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
      [TRACE] :      setenv PBDEVELOPMENTPLIST_PATH IOSTesting.app/pbdevelopment.plist
      [TRACE] :      setenv PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
      [TRACE] :      setenv PKGINFO_FILE_PATH /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/PkgInfo
      [TRACE] :      setenv PKGINFO_PATH IOSTesting.app/PkgInfo
      [TRACE] :      setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
      [TRACE] :      setenv PLATFORM_DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
      [TRACE] :      setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
      [TRACE] :      setenv PLATFORM_DEVELOPER_SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
      [TRACE] :      setenv PLATFORM_DEVELOPER_TOOLS_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
      [TRACE] :      setenv PLATFORM_DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
      [TRACE] :      setenv PLATFORM_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
      [TRACE] :      setenv PLATFORM_NAME iphonesimulator
      [TRACE] :      setenv PLATFORM_PREFERRED_ARCH i386
      [TRACE] :      setenv PLATFORM_PRODUCT_BUILD_VERSION 10A403
      [TRACE] :      setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 50100
      [TRACE] :      setenv PLIST_FILE_OUTPUT_FORMAT binary
      [TRACE] :      setenv PLUGINS_FOLDER_PATH IOSTesting.app/PlugIns
      [TRACE] :      setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
      [TRACE] :      setenv PRECOMP_DESTINATION_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/PrefixHeaders
      [TRACE] :      setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
      [TRACE] :      setenv PRIVATE_HEADERS_FOLDER_PATH IOSTesting.app/PrivateHeaders
      [TRACE] :      setenv PRODUCT_NAME IOSTesting
      [TRACE] :      setenv PRODUCT_SETTINGS_PATH /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/Info.plist
      [TRACE] :      setenv PRODUCT_TYPE com.apple.product-type.application
      [TRACE] :      setenv PROFILING_CODE NO
      [TRACE] :      setenv PROJECT IOSTesting
      [TRACE] :      setenv PROJECT_DERIVED_FILE_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/DerivedSources
      [TRACE] :      setenv PROJECT_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone
      [TRACE] :      setenv PROJECT_FILE_PATH /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/IOSTesting.xcodeproj
      [TRACE] :      setenv PROJECT_NAME IOSTesting
      [TRACE] :      setenv PROJECT_TEMP_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build
      [TRACE] :      setenv PUBLIC_HEADERS_FOLDER_PATH IOSTesting.app/Headers
      [TRACE] :      setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
      [TRACE] :      setenv REMOVE_CVS_FROM_RESOURCES YES
      [TRACE] :      setenv REMOVE_GIT_FROM_RESOURCES YES
      [TRACE] :      setenv REMOVE_HG_FROM_RESOURCES YES
      [TRACE] :      setenv REMOVE_SVN_FROM_RESOURCES YES
      [TRACE] :      setenv REZ_COLLECTOR_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/ResourceManagerResources
      [TRACE] :      setenv REZ_OBJECTS_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/ResourceManagerResources/Objects
      [TRACE] :      setenv REZ_SEARCH_PATHS "\"/Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator\" "
      [TRACE] :      setenv RUN_CLANG_STATIC_ANALYZER NO
      [TRACE] :      setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
      [TRACE] :      setenv SCRIPTS_FOLDER_PATH IOSTesting.app/Scripts
      [TRACE] :      setenv SCRIPT_INPUT_FILE_COUNT 0
      [TRACE] :      setenv SCRIPT_OUTPUT_FILE_COUNT 0
      [TRACE] :      setenv SDKROOT /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSim
      [TRACE] :  ulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
      [TRACE] :      setenv SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
      [TRACE] :      setenv SDK_NAME iphonesimulator5.1
      [TRACE] :      setenv SDK_PRODUCT_BUILD_VERSION 9B176
      [TRACE] :      setenv SED /usr/bin/sed
      [TRACE] :      setenv SEPARATE_STRIP NO
      [TRACE] :      setenv SEPARATE_SYMBOL_EDIT NO
      [TRACE] :      setenv SET_DIR_MODE_OWNER_GROUP YES
      [TRACE] :      setenv SET_FILE_MODE_OWNER_GROUP NO
      [TRACE] :      setenv SHALLOW_BUNDLE YES
      [TRACE] :      setenv SHARED_DERIVED_FILE_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator/DerivedSources
      [TRACE] :      setenv SHARED_FRAMEWORKS_FOLDER_PATH IOSTesting.app/SharedFrameworks
      [TRACE] :      setenv SHARED_PRECOMPS_DIR /var/folders/zj/8xjj6knx6wn1qvljm8sn879m0000gq/C/com.apple.Xcode.503/SharedPrecompiledHeaders
      [TRACE] :      setenv SHARED_SUPPORT_FOLDER_PATH IOSTesting.app/SharedSupport
      [TRACE] :      setenv SKIP_INSTALL NO
      [TRACE] :      setenv SOURCE_ROOT /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone
      [TRACE] :      setenv SRCROOT /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone
      [TRACE] :      setenv STRINGS_FILE_OUTPUT_ENCODING binary
      [TRACE] :      setenv STRIP_INSTALLED_PRODUCT YES
      [TRACE] :      setenv STRIP_STYLE all
      [TRACE] :      setenv SUPPORTED_DEVICE_FAMILIES "1 2"
      [TRACE] :      setenv SUPPORTED_PLATFORMS "iphonesimulator iphoneos"
      [TRACE] :      setenv SYMROOT /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build
      [TRACE] :      setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
      [TRACE] :      setenv SYSTEM_APPS_DIR /Applications
      [TRACE] :      setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
      [TRACE] :      setenv SYSTEM_DEMOS_DIR /Applications/Extras
      [TRACE] :      setenv SYSTEM_DEVELOPER_APPS_DIR /Applications/Xcode.app/Contents/Developer/Applications
      [TRACE] :      setenv SYSTEM_DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/usr/bin
      [TRACE] :      setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
      [TRACE] :      setenv SYSTEM_DEVELOPER_DIR /Applications/Xcode.app/Contents/Developer
      [TRACE] :      setenv SYSTEM_DEVELOPER_DOC_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
      [TRACE] :      setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
      [TRACE] :      setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
      [TRACE] :      setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
      [TRACE] :      setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
      [TRACE] :      setenv SYSTEM_DEVELOPER_TOOLS /Applications/Xcode.app/Contents/Developer/Tools
      [TRACE] :      setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
      [TRACE] :      setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
      [TRACE] :      setenv SYSTEM_DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/usr
      [TRACE] :      setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Applications/Xcode.app/Contents/Developer/Applications/Utilities
      [TRACE] :      setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
      [TRACE] :      setenv SYSTEM_LIBRARY_DIR /System/Library
      [TRACE] :      setenv TARGETED_DEVICE_FAMILY 1
      [TRACE] :      setenv TARGETNAME IOSTesting
      [TRACE] :      setenv TARGET_BUILD_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/Debug-iphonesimulator
      [TRACE] :      setenv TARGET_NAME IOSTesting
      [TRACE] :      setenv TARGET_TEMP_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build
      [TRACE] :      setenv TEMP_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build
      [TRACE] :      setenv TEMP_FILES_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build
      [TRACE] :      setenv TEMP_FILE_DIR /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build
      [TRACE] :      setenv TEMP_ROOT /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build
      [TRACE] :      setenv TEST_AFTER_BUILD NO
      [TRACE] :      setenv TI_APPID com.appcelerator.ios
      [TRACE] :      setenv TI_DEVELOPMENT 1
      [TRACE] :      setenv TI_SDK_DIR "/Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/3.1.0/iphone"
      [TRACE] :      setenv TI_VERSION 3.1.0
      [TRACE] :      setenv TOOLCHAINS com.apple.dt.toolchain.XcodeDefault
      [TRACE] :      setenv UID 503
      [TRACE] :      setenv UNLOCALIZED_RESOURCES_FOLDER_PATH IOSTesting.app
      [TRACE] :      setenv UNSTRIPPED_PRODUCT NO
      [TRACE] :      setenv USER shalom
      [TRACE] :      setenv USER_APPS_DIR /Users/shalom/Applications
      [TRACE] :      setenv USER_LIBRARY_DIR /Users/shalom/Library
      [TRACE] :      setenv USE_DYNAMIC_NO_PIC YES
      [TRACE] :      setenv USE_HEADERMAP YES
      [TRACE] :      setenv USE_HEADER_SYMLINKS NO
      [TRACE] :      setenv VALIDATE_PRODUCT NO
      [TRACE] :      setenv VALID_ARCHS "armv7 armv7s i386"
      [TRACE] :      setenv VERBOSE_PBXCP NO
      [TRACE] :      setenv VERSIONPLIST_PATH IOSTesting.app/version.plist
      [TRACE] :      setenv VERSION_INFO_BUILDER shalom
      [TRACE] :      setenv VERSION_INFO_FILE IOSTesting_vers.c
      [TRACE] :      setenv VERSION_INFO_STRING "\"@(#)PROGRAM:IOSTesting  PROJECT:IOSTesting-\""
      [TRACE] :      setenv WRAPPER_EXTENSION app
      [TRACE] :      setenv WRAPPER_NAME IOSTesting.app
      [TRACE] :      setenv WRAPPER_SUFFIX .app
      [TRACE] :      setenv XCODE_APP_SUPPORT_DIR /Applications/Xcode.app/Contents/Developer/Library/Xcode
      [TRACE] :      setenv XCODE_PRODUCT_BUILD_VERSION 4G2008a
      [TRACE] :      setenv XCODE_VERSION_ACTUAL 0452
      [TRACE] :      setenv XCODE_VERSION_MAJOR 0400
      [TRACE] :      setenv XCODE_VERSION_MINOR 0450
      [TRACE] :      setenv YACC yacc
      [TRACE] :      /bin/sh -c /Users/shalom/Documents/runtime-Titanium/IOSTesting/build/iphone/build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Script-241EAF36118E30260081A5BE.sh
      [TRACE] :  [ERROR] Invalid --ios-version value '5.1'
      [TRACE] :  
      [TRACE] :  Accepted values:
      [TRACE] :     6.0
      [TRACE] :  Command /bin/sh failed with exit code 1
      [ERROR] :  ** BUILD FAILED **
      [ERROR] :  The following build commands failed:
      [ERROR] :  	PhaseScriptExecution Pre-Compile build/IOSTesting.build/Debug-iphonesimulator/IOSTesting.build/Script-241EAF36118E30260081A5BE.sh
      [ERROR] :  (1 failure)
      

        Issue Links

          Activity

          Show
          Chris Barber added a comment - Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3539 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3542
          Hide
          Lokesh Choudhary added a comment -

          Verified the fix.
          The simulator 5.1 launches successfully & runs the app.

          Titanium studio : 3.0.0.201211301903
          SDK Version : 3.0.0.v20121207120202
          CLI version : 3.0.20
          OS : OSX 10.8.2
          iOS sdk : 6
          Iphone Simulator 5.1

          Show
          Lokesh Choudhary added a comment - Verified the fix. The simulator 5.1 launches successfully & runs the app. Titanium studio : 3.0.0.201211301903 SDK Version : 3.0.0.v20121207120202 CLI version : 3.0.20 OS : OSX 10.8.2 iOS sdk : 6 Iphone Simulator 5.1

            People

            • Assignee:
              Chris Barber
              Reporter:
              Shalom Gibly
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development