-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XCode 10.1 not supported -> isAvailable #43
Comments
Change SimulatorController.swift:34 -> if let deviceList = deviceList as? [[String:AnyObject]] { if let state = deviceJson["state"] as? String, |
Thank you @Mirconet,it's worked. |
when is a release planned? |
+1 need an update :) thanks ! |
The pull request #44 does not correct the issue. the json parsed is structure as this for available devices: and for not available device: |
So isAvailable json key is used now, but availability is still (available) or (unavailable etc...) |
anyway, the command line used |
it does list it but the json parser fails now as availability is not anymore a string but a boolean. Swift dictionary must be homogeneous... as? [[String: String]] fails |
Fixed on the latest release: https://github.com/luosheng/OpenSim/releases/tag/0.4.1 |
The key "availability" has changed to "isAvailable".
Therefore no devices will be found.
-> SimulatorController.swift:37
The text was updated successfully, but these errors were encountered: