I ran the react-native run-ios command to build my react-native app and it doesn't seem to be building(waited 20 mins). I have not encountered this issue on the same project in the past and am stumped. Previously, I had run the same app on the same laptop and it built just fine. I am currently using an updated react-native 0.61.2 on a Macbook Air 2013, could that have something to do with the issue? Note, there is no error message, the app just doesn't finish building. Picture is attached below of what I see before quitting.
Asked
Active
Viewed 3,963 times
1
-
1Have you tried building it through Xcode rather than the command line? – Andrew Oct 06 '19 at 07:33
-
1Please clean Build folder in ios folder then run commands npm start --reset-cache and react-native run-ios – Parham Zare Oct 06 '19 at 10:36
-
Did you happen to change the `jsCodeLocation` in the appdelegate.m ?. That should point to the entry file ? – Kaushik Oct 11 '19 at 05:45
-
After building from Xcode I found the following error: clang: error: linker command failed with exit code 1 (use -v to see invocation). Looked around for others who had this issue and it seems like it's an Xcode 10 problem? Not sure how to proceed. – Parth Patel Oct 12 '19 at 19:28
-
I too experiencing the same original issue reported, this happens even for freshly created apps, did you find any solution? – Wasantha Wijayaratna Oct 13 '19 at 11:12
-
Try opening the workspace file in xcode and building from there. I haven't found a way to get the react-native run-ios command to work though. – Parth Patel Oct 15 '19 at 01:38
-
@ParthPatel Did you try selecting `Legacy Build system` in xcode? – Kaushik Oct 15 '19 at 11:51
-
this is not an issue. it is due to react native. I have bought a new Mac a still it is slow. – Engr.Aftab Ufaq Feb 02 '21 at 12:49
-
On XCode it is still slow enough to get you desperate as well. I always ask myself if I am missing something. Why it has to build the entire application just to run it again? Why it loses connection with the metro server if I try to re-start the app in the device without going through all the build phase? This is far from hot reload, it doesn't work even if I don't make any change – Juangui Jordán Aug 10 '22 at 13:57
1 Answers
1
You can try opening your /ios/*.xcworkspace
in xcode and run the project through a simulator there. You'll see the progress plus more details in case of any errors.

codejays
- 713
- 6
- 9