Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-342] iOS: No watchOS simulators in iOS info

GitHub Issuen/a
TypeBug
PriorityNone
StatusResolved
ResolutionFixed
Resolution Date2021-04-22T17:56:45.000+0000
Affected Version/sAppc Daemon 4.0.3
Fix Version/sAppc Daemon 4.0.4
Componentsappcd-plugin-ios, appcd-util
Labelsn/a
ReporterEwan Harris
AssigneeChris Barber
Created2021-04-22T09:53:48.000+0000
Updated2021-04-26T18:37:20.000+0000

Description

Description

When calling the 1.x ios plugin with /ios/1.x/info/simulators the watchos simulators will not be there instead being an array of null, however when calling /ios/1.x/info/simulators/watchos the simulators will be there. This was tracked down to appcd-utils' [makeSerializable](https://github.com/appcelerator/appc-daemon/blob/master/packages/appcd-util/src/util.js#L346-L383) that is filtering out duplicate values, and is occurring because it seems the watchos simulator objects exist in multiple places in the info output.

Steps to reproduce

1. Ensure you're using daemon 4 (appc cli 9) and the daemon is started 2. Run \[appc\] appcd exec /ios/1.x/info/simulators 3. Run \[appc\] appcd exec /ios/1.x/info/simulators/watchos

Actual

No watchOS data in step 2

Expected

watchOS data in step 2

Comments

  1. Chris Barber 2021-04-22

    PR: https://github.com/appcelerator/appc-daemon/pull/526

JSON Source