Created
March 15, 2013 10:49
-
-
Save alloy/5168971 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO First try it like below and check if Xcode is happy with the result. | |
# I don’t remember if the new config /has/ to be defined on the project-level as well. | |
# Add a duplicate of the target-level Release config to each target. | |
project.targets.each do |target| | |
build_config = project.new(Xcodeproj::Project::XCBuildConfiguration) | |
build_config.name = 'AdHoc' | |
build_config.build_settings = target.build_settings('Release') | |
target.build_configurations << build_config | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is untested code btw.