-
Notifications
You must be signed in to change notification settings - Fork 24.2k
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
Slow build process due to static analyzer #11107
Comments
There's an alternative: use |
@mkonicek I don't only write JS (our codebase has over 30 source files and counting). Is there any use case for the developers doing the Analyze of react source code files? It seems to me it would only be interesting for people modifying the SDK. |
I added this in
|
@gastonmorixe thanks for your input. I ended up doing something similar 👍 |
Description
When building either for Debug or Release configurations, static analyzer also runs making the builds run for much longer.
This xcode flag makes React source files to be compiled twice, which doubles build time (if you don't have any native code in the project).
Reproduction
react-native init myproject
3 . Observe
Analyzing files
when building.Solution
Analyze During 'Build'
xcode configuration should be off.Additional Information
The text was updated successfully, but these errors were encountered: