diff --git a/lib/snapshot/snapshot_config.rb b/lib/snapshot/snapshot_config.rb
index <HASH>..<HASH> 100644
--- a/lib/snapshot/snapshot_config.rb
+++ b/lib/snapshot/snapshot_config.rb
@@ -117,7 +117,10 @@ module Snapshot
     # The scheme to use (either it's set, or there is only one, or user has to enter it)
     def scheme
       begin
-        command = "cd '#{File.expand_path('..', project_path)}'; xcodebuild -list"
+        project_key = 'project'
+        project_key = 'workspace' if project_path.end_with?'.xcworkspace'
+        command = "xcodebuild -#{project_key} #{project_path} -list"
+        
         schemes = `#{command}`.split("Schemes:").last.split("\n").each { |a| a.strip! }.delete_if { |a| a == '' }
         Helper.log.debug "Found available schemes: #{schemes}"
Fixed problems when having multiple projects in the same folder