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

Fix ENABLE_PREVIEWS setting in BazelDependencies #512

Merged

Conversation

brentleyjones
Copy link
Contributor

We need to set SWIFT_OPTIMIZATION_LEVEL = -Onone, otherwise ENABLE_PREVIEWS is always NO, even when building for previews.

We need to set `SWIFT_OPTIMIZATION_LEVEL = -Onone`, otherwise `ENABLE_PREVIEWS` is always `NO`, even when building for previews.
@brentleyjones brentleyjones enabled auto-merge (squash) June 7, 2022 19:26
@@ -50,6 +50,8 @@ $(INDEXING_DEPLOYMENT_LOCATION__)
"INTERNAL_DIR": """
$(PROJECT_FILE_PATH)/\(filePathResolver.internalDirectoryName)
""",
// Needed as the default otherwise `ENABLE_PREIVEWS` isn't set
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: small typo in the docs

@brentleyjones brentleyjones merged commit e589ccf into main Jun 7, 2022
@brentleyjones brentleyjones deleted the bj/fix-enable_previews-setting-in-bazeldependencies branch June 7, 2022 19:41
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.

2 participants