I am developing my first react native app on a Mac(m1 chip). The app appears momentarily on the Xcode simulator and disappears in the background with a blank screen. There is no error on the terminal. Below is the terminal dump.
" Last login: Tue Dec 15 00:36:33 on ttys000
sanjayprasad@Sanjays-MBP ~ % cd awesomeproject
sanjayprasad@Sanjays-MBP awesomeproject % npx react-native run-ios
info Found Xcode workspace "AwesomeProject.xcworkspace"
info Building (using "xcodebuild -workspace AwesomeProject.xcworkspace -configuration Debug -scheme AwesomeProject -destination id=F55281D6-0A7D-414E-98D9-CC776AB102A6")
success Successfully built the app
info Installing "/Users/sanjayprasad/Library/Developer/Xcode/DerivedData/AwesomeProject-gtggsaoeytxphlcmedfucwkufskf/Build/Products/Debug-iphonesimulator/AwesomeProject.app"
info Launching "org.reactjs.native.example.AwesomeProject"
success Successfully launched the app on the simulator
sanjayprasad@Sanjays-MBP awesomeproject %
"
Your help will be greatly appreciated.
Thanks,
Sanjay.
" Last login: Tue Dec 15 00:36:33 on ttys000
sanjayprasad@Sanjays-MBP ~ % cd awesomeproject
sanjayprasad@Sanjays-MBP awesomeproject % npx react-native run-ios
info Found Xcode workspace "AwesomeProject.xcworkspace"
info Building (using "xcodebuild -workspace AwesomeProject.xcworkspace -configuration Debug -scheme AwesomeProject -destination id=F55281D6-0A7D-414E-98D9-CC776AB102A6")
success Successfully built the app
info Installing "/Users/sanjayprasad/Library/Developer/Xcode/DerivedData/AwesomeProject-gtggsaoeytxphlcmedfucwkufskf/Build/Products/Debug-iphonesimulator/AwesomeProject.app"
info Launching "org.reactjs.native.example.AwesomeProject"
success Successfully launched the app on the simulator
sanjayprasad@Sanjays-MBP awesomeproject %
"
Your help will be greatly appreciated.
Thanks,
Sanjay.