Class: Ive::Xcode

Inherits:
Object
  • Object
show all
Defined in:
lib/ive/xcode.rb

Instance Method Summary collapse

Instance Method Details

#configObject



5
6
7
8
9
10
11
# File 'lib/ive/xcode.rb', line 5

def config
  return nil unless Ive.config.valid?

  project.target(Ive.config.target).config(Ive.config.configuration)
#rescue Exception => e
  #nil
end

#projectObject



13
14
15
# File 'lib/ive/xcode.rb', line 13

def project
  @project ||= ::Xcode.project self.project_path
end

#project_pathObject



17
18
19
# File 'lib/ive/xcode.rb', line 17

def project_path
  @project_path ||= Dir.glob("#{Ive.path}/*.xcodeproj").first
end