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
PR: https://github.com/appcelerator/appc-daemon/pull/526