How can I use .xcconfig files in Xcode 4?

后端 未结 2 1783
心在旅途
心在旅途 2020-11-28 23:41

I just switched over to Xcode 4 and I\'m having trouble working with .xcconfig files for build settings. My targets that already had files assigned in Xcode 3 are all set up

2条回答
  •  無奈伤痛
    2020-11-28 23:59

    Pick File | New, choose Other and "Configuration Settings File", this gets you a new .xcconfig file.

    Then click on the project on the upper left in the file browser (the same place where you get to build settings), click on the project again in the second-to-left panel, and click on the Info tab at the top of the inner panel.

    There, you can choose "Based on Configuration File" for each of your targets for each of your configurations (debug, release, etc.)

    Hope this helps!

提交回复
热议问题