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

settings and settingsGroup: difference from xcconfig ? #65

Closed
toshi0383 opened this issue Sep 24, 2017 · 2 comments
Closed

settings and settingsGroup: difference from xcconfig ? #65

toshi0383 opened this issue Sep 24, 2017 · 2 comments

Comments

@toshi0383
Copy link
Collaborator

toshi0383 commented Sep 24, 2017

Is there any difference from using xcconfig?
What are pros/cons ?

Related: #64 (comment)

@yonaskolb
Copy link
Owner

yonaskolb commented Sep 24, 2017

settings are used to provide settings on a target or project. settingsGroup can be referenced from settings or other settingGroups. They are similar to xcconfig files but have a bit more power.

Setting group advantages

  • can specify build settings or other setting groups by config
  • written in the same spec using the same language so easier to use
  • use the project spec include allows for adding or merging of build settings in setting groups

Xcconfig advantages

  • can reuse files already in use in a project

So I would say use settingGroups unless you want to use any custom xcconfig files you've already created.

@toshi0383
Copy link
Collaborator Author

Thank you for the clarification!

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

No branches or pull requests

2 participants