Wednesday, March 13, 2024
HomeiOS Developmentios - Connect with Metro server to develop JavaScript

ios – Connect with Metro server to develop JavaScript


I am having a relentless concern with Xcode and Metro server on my new MacBook Air with M1 – I am unable to connect with Metro server from iPhone 14 Professional after I run npm begin after which construct an iOS software in Xcode.

What’s irritating is that now and again it is all of a sudden potential to connect with Metro server from iPhone, often in conditions after I do not use iPhone/MacBook for an extended time, change native community, change Apple ID (at this time) and even as soon as after I managed to pair Xcode with iPhone wirelessly (yesterday – since then I could not accomplish the identical).

MacBook and iPhone are on the identical WiFi.
I attempted restarting each gadgets.
I attempted deleting Pods and modules and reinstall them.
I attempted deleting cache: npm begin --reset-cache.
I attempted to Configure Bundler on iPhone.
I attempted reinstalling Xcode.
I attempted reinstalling node and react-native.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments