Commit 52ea80b1 authored by Fabio Pelosin's avatar Fabio Pelosin

[Analyzer] Inspect the architecture of the user project if needed.

See #1450
parent e4e9fabc
...@@ -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)
* If an user target doesn't specify an architecture the value specified for the
project is used in CocoaPods targets.
[Fabio Pelosin](https://github.com/irrationalfab)
[#1450](https://github.com/CocoaPods/CocoaPods/issues/1450)
* The Pods project now properly configures ARC on all build configurations. * The Pods project now properly configures ARC on all build configurations.
[Fabio Pelosin](https://github.com/irrationalfab) [Fabio Pelosin](https://github.com/irrationalfab)
[#1454](https://github.com/CocoaPods/CocoaPods/issues/1454) [#1454](https://github.com/CocoaPods/CocoaPods/issues/1454)
......
...@@ -17,7 +17,7 @@ GIT ...@@ -17,7 +17,7 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Xcodeproj.git remote: https://github.com/CocoaPods/Xcodeproj.git
revision: 8911fee561255f4f11a29a48e345017aec605081 revision: 75a00063e9997e2dd3d617a3966f9c878bb99ba6
branch: master branch: master
specs: specs:
xcodeproj (0.12.0) xcodeproj (0.12.0)
......
...@@ -461,9 +461,7 @@ module Pod ...@@ -461,9 +461,7 @@ module Pod
def compute_archs_for_target_definition(target_definition, user_targets) def compute_archs_for_target_definition(target_definition, user_targets)
archs = [] archs = []
user_targets.each do |target| user_targets.each do |target|
target.build_configurations.each do |configuration| archs << target.common_resolved_build_setting('ARCHS')
archs << configuration.build_settings['ARCHS']
end
end end
archs = archs.compact.uniq.sort archs = archs.compact.uniq.sort
......
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