Skip to content

doctor: check for combination of ccache and static analysis in iOS #1576

Open
@mikehardy

Description

@mikehardy

Describe the Feature

@tido64 noted in facebook/react-native-website#3027 (comment) (a pull request that implies using ccache is great) that if you enable static analysis in your Xcode project, ccache is incompatible because of some pathing issues inside Xcode tooling

Possible Implementations

  • inspect pbxproj files for static analysis flags
  • somehow discover if ccache is in use on the system for the Xcode build?
    • inspect pbxproj?
    • check Podfile for CLANG/CLANG++ etc settings in post_install?
    • check environment variables - somehow as they are setup for build - to see if CLANG is defined && CCACHE_DISABLE is not?

Related Issues

Linked above

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions