Module: CocoapodsRnToolkit::Xcode16RNZipArchive

Defined in:
lib/cocoapods-rn-toolkit/xcode16_rnziparchive.rb

Class Method Summary collapse

Class Method Details

.apply(installer) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/cocoapods-rn-toolkit/xcode16_rnziparchive.rb', line 3

def self.apply(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'RNZipArchive'
      target.source_build_phase.files.each do |file|
        if file.settings && file.settings['COMPILER_FLAGS']
          file.settings['COMPILER_FLAGS'] = ''
        end
      end
    end
  end
end