Closed BlancaCC closed 1 year ago
After typing sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
on terminal the error is now
(sources:
~/r/M/f/mobile_app_react_native (execution-problem)> npx react-native run-ios
warn Package react-native-sqlite-storage contains invalid configuration: "dependency.platforms.ios.project" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info Found Xcode workspace "mobile_app_react_native_android.xcworkspace"
error No simulator available with name "iPhone 13".
info Run CLI with --verbose flag for more details.
Fixing selecting the device npx react-native run-ios --simulator="iPhone 13"
In order to see the simulator open Xcode > windows (options) > device an simulators ) or
even better write xcrun simctl list devices
Source stack overflow comment
Since I executed in my local machine the command
sudo xcode-select -switch /Library/Developer/CommandLineTools
(in order to havegit
functions) I have the following error