Skip to content

Commit

Permalink
Fix *.xcscheme paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lebedev authored Apr 30, 2019
1 parent b48b020 commit ebf4fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xcodeproj/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ def sort(options = nil)
# @return [Array]
#
def self.schemes(project_path)
schemes = Dir[File.join(project_path, 'xcshareddata', 'xcschemes', '*.xcscheme')].map do |scheme|
schemes = Dir[File.join(project_path, '**', 'xcschemes', '*.xcscheme')].map do |scheme|
File.basename(scheme, '.xcscheme')
end
schemes << File.basename(project_path, '.xcodeproj') if schemes.empty?
Expand Down

0 comments on commit ebf4fb2

Please sign in to comment.