Podfile Signing 오류 해결방법

2022. 9. 22. 02:08Develop/React-Native

Xcode 14로 업데이트 이후 Pod마다 개발팀을 설정해달라는 오류가 뜨고있습니다.

오류 사진

해당 오류가 발생하고있는데 Podfile에 다음을 추가해주면됩니다.

installer.pods_project.targets.each do |target|
  if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
    target.build_configurations.each do |config|
        config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
    end
  end
end

해당 코드는 각 Pod에 CODE SIGN을 필수로 지정하지 않게 하여 해당 오류를 피할 수 있습니다.