Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15245

CLI: Killing running app launched in iOS simulator presents unexpected console output including "project failed to build"

    Details

      Description

      Description:

      When an app is launched in the iOS simulator and killed via the simulator, the following output appears in the console:

      [ERROR] An error occurred running the iOS Simulator
      [ERROR] [DEBUG] using retina iphone retina tall ios 7
      [ERROR]   
      [ERROR] Project failed to build after 55s 673ms
      

      A slightly longer section of the output shows "** BUILD SUCCEEDED **" prior to the failure, this could cause confusion:

      [TRACE] ** BUILD SUCCEEDED **
      [INFO]  Finished building the application in 30s 54ms
      [INFO]  Running application in iOS Simulator
      [DEBUG] Terminating all iOS simulators
      [INFO]  Launching application in iOS Simulator
      [TRACE] Simulator environment: DYLD_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks:/Applications/Xcode.app/Contents/OtherFrameworks
      [DEBUG] Simulator command: "/Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.v20130916153052/iphone/ios-sim" launch "/Users/emerriman/Documents/workspace/augustWorkspace/tc2966/build/iphone/build/Debug-iphonesimulator/tc2966.app" --sdk 7.0 --family iphone --retina --tall
      [INFO]  Focusing the iOS Simulator
      [DEBUG] Found iPhone Simulator log file: /Users/emerriman/Library/Application Support/iPhone Simulator/7.0/Applications/AB2E9390-B708-4629-9B7F-E74C22AD93C9/Documents/e3ae0a76-f4d6-4e24-8b6f-76e230aea7e5.log
      -- Start simulator log -------------------------------------------------------
      [INFO]  Application started
      [DEBUG] Reading stylesheet from: /Users/emerriman/Library/Application Support/iPhone Simulator/7.0/Applications/AB2E9390-B708-4629-9B7F-E74C22AD93C9/tc2966.app/stylesheet.plist
      [INFO]  tc2966/1.0 (3.1.3.v20130916153052.c35b513)
      [DEBUG] Analytics is enabled = YES
      [DEBUG] Loading: /Users/emerriman/Library/Application Support/iPhone Simulator/7.0/Applications/AB2E9390-B708-4629-9B7F-E74C22AD93C9/tc2966.app/app.js, Resource: app_js
      [DEBUG] Application booted in 222.056031 ms
      -- End simulator log ---------------------------------------------------------
      [ERROR] An error occurred running the iOS Simulator
      [ERROR] [DEBUG] using retina iphone retina tall ios 7
      [ERROR]   
      [ERROR] Project failed to build after 55s 673ms
      

      This occurs from Studio or the CLI.

      Steps to reproduce:

      1) Create a project
      2) Launch in CLI or studio on iOS simulator
      3) When app running in simulator, simulate home button press (via CMD-SHIFT-H)
      4) Simulate Double press on home button (via double CMD-SHIFT-H)
      5) For iOS 7, find your running app and swipe upwards to kill
      6) Check console

      Result:

      Error as listed above

      Expected Result:

      No errors presented

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              emerriman Eric Merriman
              Reviewer:
              Sabil Rahim
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17485
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code