class FastlaneCore::Project
Public Instance Methods
targets()
click to toggle source
Returns project targets
# File lib/xcov/project_extensions.rb, line 8 def targets project_path = get_project_path return [] if project_path.nil? proj = Xcodeproj::Project.open(project_path) proj.targets.map do |target| target.name end end
Private Instance Methods
get_project_path()
click to toggle source
# File lib/xcov/project_extensions.rb, line 21 def get_project_path # Given the workspace and scheme, we can compute project path if workspace? if options[:workspace] && options[:scheme] build_settings(key: "PROJECT_FILE_PATH") end else options[:project] end end