iOS build failed: Starting from Xcode 14

🍎 iOS build failed:

Starting from Xcode 14, resource bundles are signed by default, which requires setting the development team for each resource bundle target.

To resolve this issue, downgrade to an older Xcode version using the “image” field in eas.json, or turn off signing resource bundles in your Podfile:

Learn more:

entre na pasta ios:

terminal: pod install e logo após pod update

Logo Após

  #   # Workaround `Cycle inside FBReactNativeSpec` error for react-native 0.64
  #   # Reference:
  #   installer.pods_project.targets.each do |target|
  #     if ('FBReactNativeSpec'))
  #       target.build_phases.each do |build_phase|
  #         if (build_phase.respond_to?(:name) &&'[CP-User] Generate Specs'))
  #           target.build_phases.move(build_phase, 0)
  #         end
  #       end
  #     end
  #   end
  # end

  post_install do |installer|
      installer.pods_project.targets.each do |target|
          target.build_configurations.each do |config|
              # disable code signing for pods
              config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
              config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
              config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *