post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
xcconfig_relative_path = "Pods/Target Support Files/#{target.name}/#{target.name}.#{config.name}.xcconfig"
file_path = Pathname.new(File.expand_path(xcconfig_relative_path))
next unless File.file?(file_path)
configuration = Xcodeproj::Config.new(file_path)
next if configuration.attributes['LIBRARY_SEARCH_PATHS'].nil?
configuration.attributes['LIBRARY_SEARCH_PATHS'].sub! 'DT_TOOLCHAIN_DIR', 'TOOLCHAIN_DIR'
configuration.save_as(file_path)
end
end
end
CocoaPods 1.13.0에서 fix 들어올거라는데 이 ㅅㅂ넘들은 15 베타 나온지가 언젠데 아직도 이걸 안고친거임?
아마 1.13.0 나오면 다시 원래대로 바꿔야 할지도