So I'm getting started with React Native. Honestly working with XCode has been one of the most miserable development experiences I've experienced in my life. The simulator literally takes 20+ minutes to boot up (is this normal??) and when it does I can't launch the app because it's on port 8081 which apparently something else is running on so it just crashes. So now I have to change it and probably wait another 30 minutes for the simulator to boot up.
My question is, what is the best way to change the port number in a React Native iOS app. I've seen references to the appDelegate.m file but it seems that it's not allowing you to change it in this file anymore because I see no reference to localhost:8081 anywhere in it.
Any help would be appreciated. I also have tried react-native start --port 9988
this starts a terminal session and looks like it's working but doesn't launch xcode, the simulator or anything. When I launch Xcode and then run the app from here it launches another terminal session pointing to port 8081 pretty much just undoing what I did.
Been basically sitting and waiting on xcode for the last 5 hours. Super frustrating. Just wanna start coding!!
Thanks!