e-sites / Natrium

A pre-build (Swift) script to alter your Xcode project at pre-build-time per environment, build configuration and target.
https://www.e-sites.nl
MIT License
145 stars 15 forks source link

Config Natrium With Installation CocoaPods #26

Closed vantruong1094 closed 5 years ago

vantruong1094 commented 5 years ago

why do not copy of file Natrium.swift, only make a reference to it? I don't understand!

basvankuijck commented 5 years ago

Because during the pre-action run script natrium generates a Natrium.swift in the Pods/Natrium/bin folder.

If you add the file to your target AND copy it, a physical copy of the file will be placed in the (root) of your project and therefor it will not update once you run natrium.

vantruong1094 commented 5 years ago

thanks your question!