Skip to content

Instantly share code, notes, and snippets.

@junhoyeo
Created April 25, 2022 16:26
Show Gist options
  • Save junhoyeo/e6e972303d7e6496b0658656d0832acf to your computer and use it in GitHub Desktop.
Save junhoyeo/e6e972303d7e6496b0658656d0832acf to your computer and use it in GitHub Desktop.
if target.respond_to?(:source_build_phase) == true
source_files = target.source_build_phase.files
dummy = source_files.find do |file|
file.file_ref.name == 'GCDAsyncSocket.m'
end
if dummy != nil
puts target.name
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment