Skip to content
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

Pre-generate files during initial project creation #298

Merged
merged 1 commit into from
Apr 15, 2022

Conversation

brentleyjones
Copy link
Contributor

@brentleyjones brentleyjones commented Apr 15, 2022

To make initial experiences nicer, we now run the Bazel Generated Files scheme as part of initial project creation. This won't be run each time the project is generated, only if the gen_dir isn't found.

To disable this behavior, you can set pre_generate_files = False on your xcodeproj target. In that case, it will only run the Setup scheme, which will ensure that Xcode behaves nicely once the generated files are created, without having to close and re-open the project.

Longer term we might want to reduce the number of files pre-generated, as this step might take a long time. Also, Build with Bazel might have different requirements.

To make initial experiences nicer, we now run the `Bazel Generated Files` scheme as part of initial project creation. This won't be run each time the project is generated, only if the `gen_dir` isn't found.

To disable this behavior, you can set `pre_generate_files = False` on your `xcodeproj` target. In that case, it will only run the `Setup` scheme, which will ensure that Xcode behaves nicely once the generated files are created, without having to close and re-open the project.
@brentleyjones brentleyjones merged commit 55f1b82 into main Apr 15, 2022
@brentleyjones brentleyjones deleted the bj/pre-generate-files branch April 15, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants