Method: Pod::Generator::CopyXCFrameworksScript.dsym_folder

Defined in:
lib/cocoapods/generator/copy_xcframework_script.rb

.dsym_folder(xcframework_path) ⇒ Array<Pathname>

Returns all found .dSYM paths.

Parameters:

  • xcframework_path (Pathname)

    the base path of the .xcframework bundle

Returns:

  • (Array<Pathname>)

    all found .dSYM paths



218
219
220
221
222
223
# File 'lib/cocoapods/generator/copy_xcframework_script.rb', line 218

def dsym_folder(xcframework_path)
  basename = File.basename(xcframework_path, '.xcframework')
  dsym_basename = basename + '.dSYMs'
  path = xcframework_path.dirname + dsym_basename
  Pathname.new(path) if File.directory?(path)
end