arnesson / cordova-plugin-firebase

Cordova plugin for Google Firebase
http://arnesson.github.io/cordova-plugin-firebase
MIT License
1k stars 1.55k forks source link

xcodebuild: Command failed with exit code 65 #1151

Open amatrix85 opened 3 years ago

amatrix85 commented 3 years ago

Describe the bug When I try to build the project it fails with error code 65

To Reproduce

  1. Install latest version of Ionic 3 (yes, I know about presence of version 5 and even know how to change code but also we'll have to rewrite almost entire design that'll take too much time) Steps to reproduce the behavior:
  2. Install cordova 9.0.0
  3. Create a blank Ionic project
  4. Install this plugin
  5. Install cordova-plugin-xcode
  6. Make changes according to https://github.com/arnesson/cordova-plugin-firebase/issues/1033#issuecomment-477005240
  7. Register app in Firebase console
  8. Download fileGoogleService-Info.plist and put it into project root
  9. Add iOS platform
  10. Install CocoaPods
  11. In platforms/ios/ execute command pod init
  12. Add line pod 'Firebase/Analytics' in Podfile, then execute command pod install
  13. Go to project root dir and try to execute ionic cordova build ios

Expected behavior Successful build operation

Screenshots If applicable, add screenshots to help explain your problem.

Console Logs

** BUILD FAILED **

The following build commands failed:
    CompileC /Users/amatrix/Library/Developer/Xcode/DerivedData/firebasetest-gklypjjtqmwhwkbmxsdmlshvotyf/Build/Intermediates.noindex/firebasetest.build/Debug-iphonesimulator/firebasetest.build/Objects-normal/x86_64/FirebasePlugin.o /Users/amatrix/firebasetest/platforms/ios/firebasetest/Plugins/cordova-plugin-firebase/FirebasePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
xcodebuild: Command failed with exit code 65
[ERROR] An error occurred while running cordova build ios (exit code 65).

Plugin Version 2.0.5

Desktop (please complete the following information):