GithubHelp home page GithubHelp logo

Can't debug app anymore on xcode 15 about metro HOT 2 OPEN

dejawho avatar dejawho commented on April 28, 2024
Can't debug app anymore on xcode 15

from metro.

Comments (2)

Colemartindale avatar Colemartindale commented on April 28, 2024 1

I am having a similar issue.
I am using apple silicon M1 Chip
I am using RN 0.72.5
Metro 0.76.8
I set the port in my package.json when I run on IOS Simulator like so

    "ios": "react-native run-ios --port 8088 --simulator='iPhone 15'",

I ensure that all RN default ports of 8081 have been switched to 8088.

but I constantly get the warning:
"warn No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB."

I have tried resetting the cache, resetting watchman, deleting the build, dependencies and reinstalling. Also restarting my computer.

Here is what my Metro.config.js looks like:

const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
/**
 * Metro configuration
 * https://facebook.github.io/metro/docs/configuration
 *
@type {import('metro-config').MetroConfig}
 */
const config = {
  server: { port: 8088, },
};
module.exports = mergeConfig(getDefaultConfig(__dirname), config);

Any suggestions would be greatly appreciated

from metro.

mmilvydas112 avatar mmilvydas112 commented on April 28, 2024

Having same issue. Sonoma 14, XCode 15, working on android Emulator and real device fine, iOS working on Simulator, but not on real device. Keep getting same thing:
"warn No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB."

Tried fresh project, doesn't help and issue persists

from metro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.