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

iOS: Studio doesn't detect WatchOS 3 sims

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.7.1
    • Fix Version/s: Release 4.7.1
    • Component/s: iOS
    • Labels:
    • Environment:

      MacOS 10.12 (16A239m)
      Studio 4.7.1.201608190732
      Ti SDK 5.5.0.v20160831204306
      Appc NPM 4.2.7
      Appc CLI 5.5.0-5
      Alloy 1.9.1
      Xcode 8.0 (8S201h)

    • Story Points:
      5
    • Sprint:
      2016 Sprint 18 Studio

      Description

      When I try to launch a WatchApp on simulator (iOS 10 phone sim, WatchOS 3 watch sim), I get the below error:

      [ERROR] :  An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=161):
      Unable to pair devices
      The requested devices do not have OS versions that are compatible with eachother.
      

      Looking up the UDID of the Watch simulators that Studio is trying to build for, I see that they are only WatchOS 2.X.

      Steps to reproduce issue
      1. Create a new app
      2. Add an Apple Watch app to the project, via the tiapp.xml
      3. Build the app for iOS 10 sim with an Apple Watch sim

      Expected Results
      The build succeeds and the app runs without error

      Actual Results
      The above error is encountered

      Notes
      This behavior persisted after refreshing devices, selecting a different Xcode and switching back, and restarting Studio.
      I also see the below in the logs, right before the error

      [INFO] :   Launching iOS Simulator
      [TRACE] :  [ioslib] Found watchOS 3.0 app: com.appc.studiotry.watchkitapp
      [TRACE] :  [ioslib] Selected iOS Simulator: iPhone 6s Plus
      [TRACE] :  [ioslib]   UDID    = E36CE007-76CF-4D92-BFA3-DF9120B422B5
      [TRACE] :  [ioslib]   iOS     = 10.0
      [TRACE] :  [ioslib] Selected WatchOS Simulator: Apple Watch - 42mm
      [TRACE] :  [ioslib]   UDID    = C1EC9459-708D-4DFB-B710-E86B811C5040
      [TRACE] :  [ioslib]   WatchOS = 2.0
      

      If I run the app from the CLI using appc run -p ios --launch-watch-app, the app will run as expected on the phone simulator I selected in Studio, but on the WatchOS 3 watch simulator.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                ewieber Eric Wieber (Inactive)
                Tester:
                Lee Morris (Inactive)
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: