'React native IOS getting error after adding firebase

I got this error when running IOS project. After adding firebase in my project that I got this error

Error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider buil`enter code here`ding your app with Xcode.app, by opening Texknoter.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace Texknoter.xcworkspace -configuration Debug -scheme Texknoter -destination id=789572ED-4E59-4B6B-8D51-B108A89DA817

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph

Resolved source packages:
  SwiftProtobuf: https://github.com/apple/swift-protobuf.git @ 1.19.0
  nanopb: https://github.com/firebase/nanopb.git @ 2.30908.0
  GTMSessionFetcher: https://github.com/google/gtm-session-fetcher.git @ 1.7.2
  gRPC: https://github.com/grpc/grpc-ios.git @ 1.44.0-grpc
  GoogleUtilities: https://github.com/google/GoogleUtilities.git @ 7.7.1
  Promises: https://github.com/google/promises.git @ 2.1.0
  GoogleDataTransport: https://github.com/google/GoogleDataTransport.git @ 9.1.2
  leveldb: https://github.com/firebase/leveldb.git @ 1.22.2
  Firebase: https://github.com/firebase/firebase-ios-sdk @ 9.0.0
  abseil: https://github.com/firebase/abseil-cpp-SwiftPM.git @ 0.20220203.1
  BoringSSL-GRPC: https://github.com/firebase/boringssl-SwiftPM.git @ 0.9.0
  GoogleAppMeasurement: https://github.com/google/GoogleAppMeasurement.git @ 9.0.0


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source