Commit 59c7f0b0 authored by Olivier Halligon's avatar Olivier Halligon

fixing #2852

parent 3912a7ad
...@@ -462,9 +462,8 @@ module Pod ...@@ -462,9 +462,8 @@ module Pod
raise Informative, 'Unable to find the Xcode project ' \ raise Informative, 'Unable to find the Xcode project ' \
"`#{path}` for the target `#{target_definition.label}`." "`#{path}` for the target `#{target_definition.label}`."
end end
else else
xcodeprojs = Pathname.glob(config.installation_root + '*.xcodeproj') xcodeprojs = config.installation_root.children.select { |e| e.fnmatch('*.xcodeproj') }
if xcodeprojs.size == 1 if xcodeprojs.size == 1
path = xcodeprojs.first path = xcodeprojs.first
else else
......
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