Commit cce22a68 authored by Fabio Pelosin's avatar Fabio Pelosin

[Project] Define CocoaPods build settings explicitely

parent 42c113da
......@@ -17,7 +17,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
revision: 0f41aaf98dc8c595561338023caf08ee7f0758be
revision: c1751f473d90f7dd03c0433c88b6178ec2f13080
branch: master
specs:
xcodeproj (0.11.1)
......
......@@ -19,6 +19,16 @@ module Pod
@refs_by_absolute_path = {}
@pods = new_group('Pods')
@development_pods = new_group('Development Pods')
set_cocoapods_defaults
end
# @return [void] Prepares the project with the build settings used by
# CocoaPods.
#
def set_cocoapods_defaults
build_configurations.each do |configuration|
configuration.build_settings['CLANG_ENABLE_OBJC_ARC'] = 'NO'
end
end
# @return [PBXGroup] The group for the support files of the aggregate
......
Subproject commit 2cd7488b0a6c2d8c733b78bce4223a641dc27a1c
Subproject commit 35509baa098c3d210438ca9ff412b1377eb5f994
......@@ -23,6 +23,12 @@ module Pod
@project.development_pods.name.should == 'Development Pods'
end
it "sets the default build settings of CocoaPods" do
@project.build_configurations.each do |configuration|
configuration.build_settings['CLANG_ENABLE_OBJC_ARC'].should== 'NO'
end
end
end
#-------------------------------------------------------------------------#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment