since a couple of months I'm facing a very strange situation, when developing on the latest versions of react native (0.50+ to 0.60+) the iOS simulator stops responding to keyboard commands, that is:
Hardware->Keyboard->Send Keyboard Shortcuts
and enabled it, the commands start working againCmd+Shift+H
doesn't work anymore so I cannot easily close the app if I have toThis is really driving me crazy, has anybody faced the same situation or knows any workaround? Many thanks!
P.S. I already tried a few months ago to reset everything (including simulator settings and xcode installation)
Selecting Reload (or pressing ⌘ + r in the iOS simulator) will reload the JavaScript that powers your application.
You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone 13" . If you wish to run your app on an iPhone SE (2nd generation), run npx react-native run-ios --simulator='iPhone SE (2nd generation)' .
Hardware > Shake Gesture (Command-Control-Z). This simulates a shake using a motion event but does not simulate other accelerometer actions.
Open your react native app's directory, navigate to ios folder, and double-click on . xcworkspace file to open the Xcode. Next, open the Product menu, go to Destination, and select your device. If you don't have an Apple Developer account, you must create one to be able to run your project on an iOS device.
I'm having the same issue. Seems to be an iOS 13.3+ simulator issue as you can see in this thread:
iOS Simulator CMD+R CMD+D Shake doesn't work at all after some time
As an alternative, command + ctrl + z
still works to access the development menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With