in cocoapods-plugin/lib/cocoapods-xcremotecache/command/hooks.rb [379:395]
def self.clean_lldbinit_content(lldbinit_path)
all_lines = []
return all_lines unless File.exist?(lldbinit_path)
File.open(lldbinit_path) { |file|
while(line = file.gets) != nil
line = line.strip
if line == LLDB_INIT_COMMENT
file.gets
next
end
all_lines << line
end
}
all_lines
end