Commit c33023c0 authored by Eloy Durán's avatar Eloy Durán

[Analyzer] Do not warn about multiple `ARCHS` if there are none at all.

parent f0477155
...@@ -457,7 +457,7 @@ module Pod ...@@ -457,7 +457,7 @@ module Pod
end end
archs = archs.compact.uniq.sort archs = archs.compact.uniq.sort
if archs.count != 1 if archs.count > 1
UI.warn "Found multiple values (`#{archs.join('`, `')}`) for the " \ UI.warn "Found multiple values (`#{archs.join('`, `')}`) for the " \
"architectures (`ARCHS`) build setting for the " \ "architectures (`ARCHS`) build setting for the " \
"`#{target_definition}` target definition. Using the first." "`#{target_definition}` target definition. Using the first."
......
Subproject commit 978d284adbc07cc64c7172640b9706906fc300dc Subproject commit 6c1eb337358c4a24ac13fea592b80fb9e8c79f66
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