Sha256: bc747edebead8bc6e9f1cb0d7162cd112df8350b4b5e92b585813ffa30c9c9d9
Contents?: true
Size: 574 Bytes
Versions: 6
Compression:
Stored size: 574 Bytes
Contents
module Xcake # This build phase generator detects library # files and adds them to the frameworks build phase. # class LinkLibraryFileReferenceInstaller < FileReferenceInstaller def self.can_install_node(node) %w(.a .dylib .so .framework).include?(File.extname(node.path)) end def add_file_reference_to_target(file_reference, target) target.frameworks_build_phases.add_file_reference(file_reference, true) end def visit_node(node) super # Ignore all files inside of libraries node.children = [] end end end
Version data entries
6 entries across 6 versions & 1 rubygems