CustomSimulatorsExample icon indicating copy to clipboard operation
CustomSimulatorsExample copied to clipboard

Xcode 10 wont see Custom Simulators

Open obozhdi opened this issue 6 years ago • 6 comments

Tried doing everything according to your article. Didn't succeed while using Xcode 10 GM.

obozhdi avatar Sep 15 '18 19:09 obozhdi

Same here. It only launches one simulator, and it's the wrong one. This is the result of running sample code in this repo (where iPads are specified in config file).

skjermbilde 2018-11-06 kl 19 57 35

eivindml avatar Nov 06 '18 18:11 eivindml

Ditto

iliaskarim avatar Nov 08 '18 14:11 iliaskarim

Figured it out. If you look at the result of instruments -s devices, there are now entries which makes how things are specified in MultiSimConfig.txt ambigous.

For instance:

iPhone XS (12.1) [76662943-D86F-4F7D-9BE9-4AE538B85851] (Simulator)
iPhone XS (12.1) + Apple Watch Series 4 - 40mm (5.1) [6EF7F32A-937A-4723-B2B4-2D781632B8A6] (Simulator)

If you add a [ to the end, you will get the first result only.

It works if you specify your file like this: skjermbilde 2018-11-08 kl 16 39 11

eivindml avatar Nov 08 '18 15:11 eivindml

Cheers for that @eivindml, I opened a pull request addressing the issue.

iliaskarim avatar Nov 26 '18 14:11 iliaskarim

after react-native run-ios --simulator "Custom Simulators" there are some wrong.

** BUILD SUCCEEDED **

Installing build/Build/Products/Debug-iphonesimulator/CxyClassroom_phone.app
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=164):
Unable to lookup in current state: Shutdown
Launching com.cxy61.liveclassroom-phone
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=164):
Unable to lookup in current state: Shutdown

chenweigh avatar Feb 27 '19 10:02 chenweigh

only one simulator. not two

chenweigh avatar Feb 27 '19 10:02 chenweigh