You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Create a project with react-native init myproject
Build the project
3 . Observe Analyzing files when building.
Solution
Analyze During 'Build' xcode configuration should be off.
Additional Information
React Native version: 0.38
Platform: iOS
Operating System: MacOS
The text was updated successfully, but these errors were encountered:
There's an alternative: use react-native run-ios from the command line if you only write JS. That way Xcode is not running and no code is being analyzed.
@mkonicek I don't only write JS (our codebase has over 30 source files and counting).
I'm making a case for it because if you put this into CI you have a couple minutes overhead for nothing.
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.
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: