Skip to content

Slow build process due to static analyzer #11107

Description

@oNaiPs

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

  1. Create a project with react-native init myproject
  2. Build the project
    3 . Observe Analyzing files when building.

screen shot 2016-11-23 at 10 08 18 pm

Solution

Analyze During 'Build' xcode configuration should be off.

Additional Information

  • React Native version: 0.38
  • Platform: iOS
  • Operating System: MacOS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions