Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-472

Changing SDK version and rebuilding iOS project for simulator or device causes error during build.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      Titanium Studio, build: 1.0.1.201106171427, Mac OS X 10.6.7

      Description

      Description:
      When a new SDK is selected in Studio, and the project is saved and a run is attempted, and error will occur:
      [ERROR] Error: Traceback (most recent call last):
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.03360/iphone/builder.py", line 1162, 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.8.03360/iphone/builder.py", line 1080, in execute_xcode
      output = run.run(args,False,False,o)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.03360/iphone/run.py", line 39, in run
      sys.exit(rc)
      SystemExit: 65

      Steps to reproduce:
      1) Launch studio
      2) Create a new mobile project with iOS targets
      3) Run project in simulator or on device
      4) Choose a new SDK and save Tiapp.xml
      5) Attempt to run on device or in the simulator

      Result:
      Failure with an error as listed above

      Expected result:
      THe build completes and runs as expected.

      Notes:
      The workaround is to clean the project and run again. It will be successful.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stephentramer Stephen Tramer
                Reporter:
                emerriman Eric Merriman
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: