Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React native iOS build is taking a long time

I have a big issue with react native IOS build. My project(RN 0.57.1) is taking a long time when I start to archive a project.

I am using the following steps:

1) Cleaning the build folder.

2) Edit schema with release everything.

3) Select Generic IOS device and Product > Archive.

It takes 15-20 min for creating a build and after that 15-20 minutes for compile build. I don't know it's a react native issue for IOS builds or I am doing something wrong here.

Please let me know if anyone having the solution to reduce the time to build an IOS build.

Android builds working fine.

like image 760
Rahul Mishra Avatar asked Sep 13 '19 07:09

Rahul Mishra


2 Answers

The heavier the project, the more frameworks it uses, the many module is used, the longer it takes. If you want to shorten the build, you have to reduce it.

like image 161
hong developer Avatar answered Oct 23 '22 12:10

hong developer


Yeah, unfortunately, it indeed takes a lot of time. You just need to put up with it and take a cup of coffee at such times. Or two ;-)

like image 44
evgenii Avatar answered Oct 23 '22 10:10

evgenii