[DAEMON-342] iOS: No watchOS simulators in iOS info
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2021-04-22T17:56:45.000+0000 |
Affected Version/s | Appc Daemon 4.0.3 |
Fix Version/s | Appc Daemon 4.0.4 |
Components | appcd-plugin-ios, appcd-util |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Chris Barber |
Created | 2021-04-22T09:53:48.000+0000 |
Updated | 2021-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 2Expected
watchOS data in step 2Comments
- Chris Barber 2021-04-22 PR: https://github.com/appcelerator/appc-daemon/pull/526