XCode – Add a file in project at build time

Imagine that you need to add a file in your XCode project the first time that you build the app.

For instance, you have a configuration file, in Swift, that you want to compile and embed in your app (instead of using a PLIST file that is in CLEAR…) during the build phase and of course use in your project.

Continue reading XCode – Add a file in project at build time