Trikalabs
  • Home
  • Best online TDD videos
  • Book Suggestions
  • About Me
  • Contact
Trikalabs
No Result
View All Result

Extract build settings – Xcode

by fragi
February 20, 2022
in Tools
Share on FacebookShare on Twitter

As we discussed in this article http://trikalabs.com/separate-configuration-from-code-xcconfig/ it is a best practice the separation of configuration from code.
But by using Xcode we already having some default settings. In this short article we will use the tool https://github.com/dempseyatgithub/BuildSettingExtractor to extract these settings in separate files.

  1. Download the repo
  2. Run the app
  3. By now you should see the following window:
  4. Go to the project and drag the project file inside it
  5. Choose a destination folder
  6. That’s it! Quickly enough you see all the settings extracted to xcconfig files:
     

    So now we can set these xcconfig files to our configuration as we did in the xcconfig article: http://trikalabs.com/separate-configuration-from-code-xcconfig/

fragi

fragi

Related Posts

Delete Derived Data – zsh command
Tools

Delete Derived Data – zsh command

April 22, 2022

There are some times that we have to delete the derived data that Xcode produces.There are many ways to achieve...

SwiftGen – Statically reference resources
Tools

SwiftGen – Statically reference resources

February 28, 2022

In this article we can see how we can statically reference strings. Let's look on the following example: As...

Postman – Monitors
Postman

Postman – Monitors

February 27, 2022

So we have created our collection with the API request, we an up and running mock server http://trikalabs.com/postman-mock-server/  and a...

Xcode custom template
Tools

Xcode custom template

February 25, 2022

In this article we will create a template that creates a view and a viewModel files.In the previous article http://trikalabs.com/xcode-templates/...

Xcode Templates
Tools

Xcode Templates

February 24, 2022

Xcode provides with a lot of custom templates. In this article we will explore how we can change them. In...

Newman – Run Postman collections tests
Postman

Newman – Run Postman collections tests

February 27, 2022

Newman is a command-line Collection Runner for Postman. We can use newman to run postman collection tests through cli, which...

Next Post
Postman – Mock server

Postman - Mock server

Postman – Schema Validation

Postman - Schema Validation

Newman – Run Postman collections tests

Newman - Run Postman collections tests

  • Advertise
  • Privacy & Policy
  • Contact

© 2019 Trikalabs Ltd. All rights reserved.

No Result
View All Result
  • Home
  • About Me
  • A curated list with the best free online TDD videos
  • Book Suggestions
  • Pinner Code Club

© 2019 Trikalabs Ltd. All rights reserved.