-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RN 0.62.2 iOS builds are taking twice as long #226
Comments
This repo is for long form discussions about the future of React Native. As this seems like a specific bug, opening this issue in the React Native repo is probably the right choice. If this doesn't repro in a new project but only when upgrading your existing project, then consider opening an issue in the upgrade-support repo instead. |
FYI I do not see the longer build on iOS after removing Flipper. Sorry if this is off-topic but here is how I get rid of Flipper in case it may help anyone else:
Thanks to facebook/flipper#976 for helping me figure this out. Yes I would also favor discussion in https://github.com/facebook/react-native/issues. |
@brodybits Hey ! If I'm doing it, I get this error when trying to build in Release for generic iOS device: module map file '/Users/vagrant/Library/Developer/Xcode/DerivedData/Milinus-dxumshxeoaovlmclppxhdmkdqvre/Build/Intermediates.noindex/ArchiveIntermediates/Milinus/BuildProductsPath/Release-iphoneos/YogaKit/YogaKit.modulemap' not found Don't know why, but if I leave flipper in the Podfile, everything is working |
@martinezguillaume Looks like you may need to clean up the build cache. If you can reproduce this problem in a new app, then please file a new issue. |
This is my trick to add Flipper SDK or not in my target based on a condition ($YOUR_CONDITION):
If you prefer to do it per pod target (untested code)
Another trick could be to use an extra parameters (untested code)
|
Introduction
I work on two different mobile applications and went about upgrading to the latest version of react-native. After doing so I saw my iOS build times increase drastically.
The Core of It
We use Bitrise to automate our build flow and builds that used to take about 25 minutes are now taking between 45 and 60 minutes.
I've also noticed that even my local debug builds have taken longer to build.
I assumed that this was because of the introduction of Flipper, but removing the Flipper pods only removed about 10 minutes from the total build?
Discussion points
Is any one else experiencing longer iOS Builds?
Any ideas as to what might be causing this, or suggestions for optimization?
The text was updated successfully, but these errors were encountered: