Class: Pod::Sandbox::FileAccessor

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/fixbugs/plugin.rb

Class Method Summary collapse

Class Method Details

.vendored_frameworks_headers_dir(framework) ⇒ Pathname

Returns The path of the header directory of the vendored framework.

Parameters:

  • framework (Pathname)

    The vendored framework to search into.

Returns:

  • (Pathname)

    The path of the header directory of the vendored framework.



11
12
13
14
15
16
17
18
# File 'lib/cocoapods/fixbugs/plugin.rb', line 11

def self.vendored_frameworks_headers_dir(framework)
  headers_dir = framework + 'Headers'
  if headers_dir.exist?
    headers_dir.realpath
  else
    headers_dir
  end
end