[DAEMON-250] @appcd/plugin-ios: New iOS simulator runtimes are not picked up after install
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2019-08-09T21:37:04.000+0000 |
Affected Version/s | Appc Daemon 1.1.0 |
Fix Version/s | Appc Daemon 2.3.0 |
Components | appcd-plugin-ios, ioslib |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Chris Barber |
Created | 2018-04-09T14:02:30.000+0000 |
Updated | 2019-08-09T21:37:04.000+0000 |
Description
Description
*This is probably an improvement as I can't find any reference to us currently attempting to do this* If I install a new iOS simulator runtime in xcode, then the daemon will not pick it up. Looking through the code, I think we need to set up a watcher on [xcode.globalSimProfilesPath](https://github.com/appcelerator/ioslib/blob/6189855ebc055f85957b93bf4bbe595189607396/src/xcode.js#L29) in ioslib and rescan xcodes and simulators on change.Steps to reproduce
* Start the daemonappcd start
* Call the ios info endpoint for xcode info appcd exec /ios/latest/info/xcode
, make note of the simRuntimes property
* Install a new sim runtime through Xcode (Xcode->Preferences->Components)
* When finished call the ios info endpoint again, noting the simRuntimes property for the xcode you installed the runtime in
Actual
No new runtime is detectedExpected
New runtime should be detectedComments
- Chris Barber 2019-08-09 Fixed in ioslib@3.1.0. https://github.com/appcelerator/ioslib/commit/c170cf6fdd2080869a07f8ddd10dae4814c3eb75