Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27360] Watch app does not get installed on the watch with watch OS 6.0 & IOS 13

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-09-09T21:06:41.000+0000
Affected Version/sRelease 8.2.0
Fix Version/sRelease 8.2.0
ComponentsiOS
LabelsengSchedule
ReporterLokesh Choudhary
AssigneeChris Barber
Created2019-08-27T17:50:09.000+0000
Updated2019-09-09T21:06:41.000+0000

Description

Steps to reproduce:

1. Use the watch app here : https://github.com/appcelerator-developer-relations/appc-sample-watchos2 2. Build it to a watch & iPhone simulator.

Actual result:

1. You will see the app installs on the phone but does not install on the watch.

Expected result:

1. The app should install on both phone & watch.

Comments

  1. Chris Barber 2019-09-04

    PR: https://github.com/appcelerator/ioslib/pull/96 There were 2 issues: 1. findSimulators() would return unavailable simulators. 2. Installing an iOS app to the iOS Simulator using Xcode 11's simctl no longer installs the watch apps and thus they must be explicitly installed. To test, I used DEBUG="*,-babel" appc run -p ios --log-level trace --launch-watch-app.
  2. Lokesh Choudhary 2019-09-05

    [~cbarber], I see an IOS lib log:
       [TRACE] :  [ioslib] Launched watch app, but with error: Error: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
       Application launch for 'com.appcelerator.sample.watchos2.watchkitapp' did not return a valid pid nor a launch error.
       No such process
       
    The thing works but this log is consistent.
  3. Chris Barber 2019-09-05

    Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/11196
  4. Chris Barber 2019-09-05

    [~lchoudhary] Correct. That error is present even if you manually launch the app using simctl. It seems like a Xcode 11 bug that may get fixed in RC/GA.
  5. Lokesh Choudhary 2019-09-05

    FR Passed. Apart from the log above, watch apps gets installed on watch OS 6.0. Studio Ver: 5.1.3.201909051441 SDK Ver: 8.2.0 local build OS Ver: 10.14.5 Xcode Ver: Xcode 11.0 Appc NPM: 4.2.15-1 Appc CLI: 7.1.1-master.6 Daemon Ver: 1.1.3 Ti CLI Ver: 5.2.1 Alloy Ver: 1.14.1 Node Ver: 10.16.1 NPM Ver: 6.9.0 Java Ver: 10.0.2 Simulator: Iphone XS with ios 13 & with apple watch 6.0
  6. Lokesh Choudhary 2019-09-09

    Verified the fix with SDK 8.2.0.v20190909083304. Closing.

JSON Source