Giter Site home page Giter Site logo

Comments (8)

SergenSiyli avatar SergenSiyli commented on September 27, 2024 1

@SergenSiyli That error is because you are not running Metro.

in a separate terminal window, please run:

1. cd <path-to-your-project>
2. yarn start

Then relaunch the app or press the Reload button in the tab bar of the Red screen.

Build was successful if you ended up in that screen.

I solved the problem in the first item. I got a successful build on xcode. But the application still does not build with the npx react-native run-ios command. What can I do?

from react-native.

react-native-bot avatar react-native-bot commented on September 27, 2024
⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

from react-native.

react-native-bot avatar react-native-bot commented on September 27, 2024
⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:

from react-native.

cipolleschi avatar cipolleschi commented on September 27, 2024

@SergenSiyli sorry to hear that the build time is taking too long.

Can you check a couple of things for me?

  1. Can you try to build from Xcode and see if the build numbers increases or not?
Screenshot 2024-09-09 at 12 11 10
  1. Can you run bundle exec pod deintegrate and then reinstall pods? What I'm looking for is to understand whether you are using a prebuild version of Hermes or if you are trying to build hermes from source, as it is usually one of the pieces that takes most time (and that's why we are distributing prebuilds)
Screenshot 2024-09-09 at 12 14 08 See the yellow line in the screenshot

from react-native.

SergenSiyli avatar SergenSiyli commented on September 27, 2024

@SergenSiyli sorry to hear that the build time is taking too long.

Can you check a couple of things for me?

  1. Can you try to build from Xcode and see if the build numbers increases or not?
Screenshot 2024-09-09 at 12 11 10 2. Can you run `bundle exec pod deintegrate` and then reinstall pods? What I'm looking for is to understand whether you are using a prebuild version of Hermes or if you are trying to build hermes from source, as it is usually one of the pieces that takes most time (and that's why we are distributing prebuilds)

Screenshot 2024-09-09 at 12 14 08 See the yellow line in the screenshot

1-) IOS Build Result:
Screenshot 2024-09-09 at 19 06 51

Screenshot 2024-09-09 at 19 08 11

2-) My pod install result:

Screenshot 2024-09-09 at 19 10 32

from react-native.

cipolleschi avatar cipolleschi commented on September 27, 2024

@SergenSiyli That error is because you are not running Metro.

in a separate terminal window, please run:

1. cd <path-to-your-project>
2. yarn start

Then relaunch the app or press the Reload button in the tab bar of the Red screen.

Build was successful if you ended up in that screen.

from react-native.

EzioLi01 avatar EzioLi01 commented on September 27, 2024

Same system (Apple M2, macOS 14.6.1) and same issue, from 0.75.

from react-native.

cipolleschi avatar cipolleschi commented on September 27, 2024

duplicate of #46352, please focus all the comments on the previous issue.
We will work on this soon. Until then, please use Xcode to build if you are facing the issue.

Also, we use the same command on CI to build a sample project called hello world and I tested that yarn ios worked for me in a new project with 0.75.2. There might be something going on with your system configuration.

from react-native.

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.