Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-590

Cannot build a titanium project to both iOS simulator and android emulator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.0.0
    • Component/s: None
    • Labels:
    • Environment:

      Mac OSX 10.10.1
      Appc CLI NPM: 0.3.46
      Appc CLI Registry: 0.2.269
      Ti SDK: 4.0.0.RC

    • Severity:
      Blocker
    • Story Points:
      2
    • Sprint:
      2015 Sprint 08 Tooling

      Description

      A titanium project can be run only on the first platform it is ran. It would not build on the other platform.

      Steps to reproduce:
      1. Create a new titanium project using "appc new"
      2. Run the project on android emulator "appc run -p android"
      3. Now run the project on iOS simulator "appc run -p ios"

      Actual result:
      The project does not build for iOS simulator and fails with an error

      [INFO]  Invoking xcodebuild
      [ERROR] 2015-04-24 16:37:13.377 xcodebuild[724:6832] [MT] iPhoneSimulator: SimVerifier returned: Error Domain=NSPOSIXErrorDomain Code=53 "Simulator verification failed." UserInfo=0x7fb508c30560 {NSLocalizedFailureReason=A connection to the simulator verification service could not be established., NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled., NSLocalizedDescription=Simulator verification failed.}
      [ERROR] xcodebuild: error: The directory /Users/ssekhri/test15/build/iphone does not contain an Xcode project.
       
      ERROR  | ti run exited with error code 1
      

      Trying to build it for the second time to iOS simulator it shows an error

      [INFO]  Launching iOS Simulator
      [ERROR] Project failed to build after 1s 900ms
      [ERROR] An error occurred running the iOS Simulator (ios-sim exit code 1)
       
      ERROR  | ti run exited with error code 1
      

      Similarly if a new project is ran on iOS simulator first then on trying to build it to android emulator next it does not build and build process terminates unexpectedly.

        Attachments

          Activity

            People

            • Assignee:
              cng Chee Kiat Ng (Inactive)
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration