2

I've got an XCode project with a couple of custom build configurations (above and beyond debug and release) - alpha and beta.

That's fine for my project - but I also have dependencies on third party frameworks. Those frameworks won't have an alpha and beta build configuration, and I'm currently forking them on github for the express purpose of simply adding new build configurations to those projects - so that my custom configurations can build.

Is there a better way to do this? Can I use one build configuration for a framework (release), and a different for my app (alpha)? I'm a bit lost in the byzantine XCode build system...

Also - how would something like Carthage help manage this problem?

Daniel D
  • 3,637
  • 5
  • 36
  • 41
  • 2
    Have you found a solution for that? I'm having similar issue now. – Kostia Kim Nov 08 '15 at 05:06
  • nope... still doing what I think is a bit of hack to get this to work nicely... On the plus side, I'm finding do all this with git to be pretty easy. – Daniel D Dec 14 '15 at 18:43
  • have you tried this? http://www.raizlabs.com/dev/2014/03/specifying-the-build-configuration-for-xcode-project-dependencies/ – Kostia Kim Dec 15 '15 at 07:44
  • I'm currently doing the first part in that solution. I just fork those dependencies (they're all on github) and add my special configurations in the fork... I'll look into scripting. I thought it would be something like that, I just never did it before. – Daniel D Dec 15 '15 at 08:03
  • Possible duplicate of [How to compile a project with app and library in the same workspace with different configuration names?](http://stackoverflow.com/questions/30884778/how-to-compile-a-project-with-app-and-library-in-the-same-workspace-with-differe) – cbowns Feb 07 '17 at 02:24
  • I believe this is the same core problem as http://stackoverflow.com/questions/30884778/how-to-compile-a-project-with-app-and-library-in-the-same-workspace-with-differe/30884779#30884779 – cbowns Feb 07 '17 at 02:24

0 Answers0