Commit e4e9fabc authored by Fabio Pelosin's avatar Fabio Pelosin

[Installer] Configure ARC on all build configurations of the Pods proj.

Closes #1454
parent a62645d9
...@@ -12,6 +12,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -12,6 +12,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[Kyle Fuller](https://github.com/kylef) [Kyle Fuller](https://github.com/kylef)
[#1456](https://github.com/CocoaPods/CocoaPods/issues/1456) [#1456](https://github.com/CocoaPods/CocoaPods/issues/1456)
* The Pods project now properly configures ARC on all build configurations.
[Fabio Pelosin](https://github.com/irrationalfab)
[#1454](https://github.com/CocoaPods/CocoaPods/issues/1454)
## 0.26.1 ## 0.26.1
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.25.0...0.26.0) [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.25.0...0.26.0)
[cocoapods-core](https://github.com/CocoaPods/Core/compare/0.25.0...0.26.0) [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.25.0...0.26.0)
......
...@@ -310,6 +310,7 @@ module Pod ...@@ -310,6 +310,7 @@ module Pod
build_configuration.build_settings['MACOSX_DEPLOYMENT_TARGET'] = osx_deployment_target.to_s if osx_deployment_target build_configuration.build_settings['MACOSX_DEPLOYMENT_TARGET'] = osx_deployment_target.to_s if osx_deployment_target
build_configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ios_deployment_target.to_s if ios_deployment_target build_configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ios_deployment_target.to_s if ios_deployment_target
build_configuration.build_settings['STRIP_INSTALLED_PRODUCT'] = 'NO' build_configuration.build_settings['STRIP_INSTALLED_PRODUCT'] = 'NO'
build_configuration.build_settings['CLANG_ENABLE_OBJC_ARC'] = 'NO'
end end
end end
end end
......
...@@ -19,16 +19,6 @@ module Pod ...@@ -19,16 +19,6 @@ module Pod
@refs_by_absolute_path = {} @refs_by_absolute_path = {}
@pods = new_group('Pods') @pods = new_group('Pods')
@development_pods = new_group('Development 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 end
# @return [PBXGroup] The group for the support files of the aggregate # @return [PBXGroup] The group for the support files of the aggregate
......
...@@ -23,12 +23,6 @@ module Pod ...@@ -23,12 +23,6 @@ module Pod
@project.development_pods.name.should == 'Development Pods' @project.development_pods.name.should == 'Development Pods'
end 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 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