views:

38

answers:

1

I have an iPhone project which references a framework as a subproject.

The framework has the following configurations:

  • Debug
  • Release

My app has the following configurations:

  • Debug
  • Release
  • Distribution-AdHoc
  • Distribution-AppStore

I would like the framework to be built with different configurations, depending on the app configuration:

  • Debug -> Debug
  • Release -> Release
  • Distribution-AdHoc -> Release
  • Distribution-AppStore -> Release

How can I achieve this?

+1  A: 

Refer to the Xcode Build System Guide Start with the section on Build Configurations.

falconcreek