Open obozhdi opened 6 years ago
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).
Ditto
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:
Cheers for that @eivindml, I opened a pull request addressing the issue.
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
only one simulator. not two
Tried doing everything according to your article. Didn't succeed while using Xcode 10 GM.