lib/swift/swift_dependencies_generator.rb
#path of .swiftdeps files of each class in imported CocoaPods
path of .swiftdeps files of each class in imported CocoaPods
path of . swiftdeps files of each class in imported CocoaPods
def pods_deps_files_in_dir(object_files_dirs)
    dirs = Array(object_files_dirs)
    pathComponents = String(object_files_dirs).split('/')
    pathComponents.shift()
    5.times do pathComponents.pop() end
    pathComponents << "Pods.build" << "Debug-iphoneos"
    podsPath = pathComponents.join("/")
    Dir.glob("/#{podsPath}/*/Objects-normal-ubsan/arm64/*.swiftdeps") { |file| yield file }
  end
def pods_deps_files_in_dir ( object_files_dirs ) dirs = Array ( object_files_dirs ) pathComponents = String ( object_files_dirs ) . split ( '/' ) pathComponents . shift ( ) 5 . times do pathComponents . pop ( ) end pathComponents << "Pods.build" << "Debug-iphoneos" podsPath = pathComponents . join ( "/" ) Dir . glob ( "/#{podsPath}/*/Objects-normal-ubsan/arm64/*.swiftdeps" ) { | file | yield file } end
path of .swiftdeps files of each class in imported CocoaPods
path of . swiftdeps files of each class in imported CocoaPods
#goes back outside of project folder #goes to pods folder
object_files_dirs
<not_specific>