Method: Xcode::FileReference.framework
- Defined in:
- lib/xcode/file_reference.rb
.framework(properties) ⇒ Hash
Note:
a ‘name’ and ‘path’ key need to be specified in the framework for the framework to be added correctly.
Generate the properties for a framework. A name and a path option need to be specified in the properties
46 47 48 49 50 51 52 53 54 |
# File 'lib/xcode/file_reference.rb', line 46 def self.framework(properties) default_properties = { 'isa' => "PBXFileReference", 'lastKnownFileType' => "wrapper.framework", 'name' => "FRAMEWORK.framework", 'path' => "FRAMEWORK.framework", 'sourceTree' => "<group>" } default_properties.merge(properties) end |