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

[feedback wanted] refactor: Limit BuildSettings usage to only String and [String] values #139

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

waltflanagan
Copy link
Member

In working on tuist/XcodeProj#903 i've found that build settings defined in project files are always deserialized and String and [String] types. Other types like Bool or Dictionary are not representable within build settings. Even for boolean settings, Xcode encodes and decodes the strings "YES" "NO".

Secondarily, there are some things within BuildSettings.swift that are specific to tuist behavior like default build settings for mergable libraries, and scheme generation. I'm not sure how these are intended to be used but as they are not part of a standard xcodeproj I don't believe we want to be attempting to read tuist value that are put into build settings.

Opening this PR to start a conversation on the path forward related to these two topics.

@waltflanagan waltflanagan force-pushed the waltflanagan/RefineBuildSettings branch from 869b66d to e660b0a Compare February 22, 2025 22:25
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.

1 participant