Class: Cint::Cleanup
- Inherits:
-
Object
- Object
- Cint::Cleanup
- Defined in:
- lib/cint/cleanup.rb
Class Method Summary collapse
Class Method Details
.all_bcsymbolmap ⇒ Object
8 9 10 |
# File 'lib/cint/cleanup.rb', line 8 def self.all_bcsymbolmap Dir.glob("*.bcsymbolmap") end |
.bcsymbolmap(framework_path) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/cint/cleanup.rb', line 12 def self.bcsymbolmap(framework_path) name = File.basename(framework_path, ".framework") path = framework_path + "/#{name}" uuids = `xcrun dwarfdump --uuid "#{path}" | awk '{print $2}'`.split("\n").map(&:chomp) uuids.map { |uuid| "#{uuid}.bcsymbolmap" } end |
.frameworks ⇒ Object
4 5 6 |
# File 'lib/cint/cleanup.rb', line 4 def self.frameworks Dir.glob("*.framework") end |