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

refactor: align ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES with the Xcode default #881

Conversation

yungu0010
Copy link
Contributor

Resolves tuist/tuist#6989

Short description 📝

I modified BuildSettingsProvider.swift to resolve issue 6989 of tuist/tuist.
Removed the settings for ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES so that tuist always followed the default settings of Xcode.
Please see this issue.

Solution 📦

tuist/tuist depends on local XcodeProj. Modified local XcodeProj and then test at fixtures/workspace_with_test_locale.

Implementation 👩‍💻👨‍💻

  • ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES is set to xcode default setting when watchOS application

@@ -373,10 +373,6 @@ public class BuildSettingsProvider {

private static func targetSwiftSettings(platform: Platform, product: Product) -> BuildSettings {
Copy link
Member

Choose a reason for hiding this comment

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

I believe the method can be removed completely now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fortmarek I agree. Removed it!

@fortmarek fortmarek changed the title Align ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES with the Xcode default refactor: align ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES with the Xcode default Nov 20, 2024
Copy link
Member

@fortmarek fortmarek left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@fortmarek fortmarek merged commit 5e09f61 into tuist:main Nov 20, 2024
6 of 7 checks passed
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.

Align ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES with the Xcode default
2 participants