dpa99c / cordova-plugin-firebasex

Cordova plugin for Google Firebase
MIT License
571 stars 467 forks source link

Build fails with cocoapods version 1.11.0.beta.1 #654

Open QuentinFarizon opened 3 years ago

QuentinFarizon commented 3 years ago

Bug report

CHECKLIST

Current behavior:

I have a Ionic project that uses cordova-plugin-firebasex successfully since several months now. I use Bitrise to have reproducible builds, on iOS and Android. I'm using the "cli" version of this plugin (I tested on 11.0.3-cli and 13.0.1-cli)

I suddenly started to get build errors on iOS, with the same Btirise workflow, same code commit. See error log below. I pinpointed the issue to be the cocoapods gem version.

In my build workflow, I had a step to update cocoapods gem to the lastest version (`sudo gem install cocoapods --pre) Yesterday, it started installing version 1.11.0.beta.1, instead of the working 1.10.2.

I solved it by pinning the version to 1.10.2, and build is now green again. I have written this issue to warn others, and maybe this would require an investigation ?

CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/Objects-normal/arm64/FirebasePlugin.o /Users/vagrant/git/platforms/ios/MyProject\ preprod/Plugins/cordova-plugin-firebasex/FirebasePlugin.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'MyProject preprod' from project 'MyProject preprod')
    cd /Users/vagrant/git/platforms/ios
    export LANG\=en_US.US-ASCII
    /Applications/Xcode-12.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios11.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path\=/Users/vagrant/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/vagrant/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DWK_WEB_VIEW_ONLY\=1 -DWK_WEB_VIEW_ONLY\=1 -DCOCOAPODS\=1 -DWK_WEB_VIEW_ONLY\=1 -DWK_WEB_VIEW_ONLY\=1 -DGPB_USE_PROTOBUF_FRAMEWORK_IMPORTS\=1 -DWK_WEB_VIEW_ONLY\=1 -DWK_WEB_VIEW_ONLY\=1 -DPB_FIELD_32BIT\=1 -DPB_NO_PACKED_STRUCTS\=1 -DPB_ENABLE_MALLOC\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-12.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility\=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/MyProject\ preprod-generated-files.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/MyProject\ preprod-own-target-headers.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/MyProject\ preprod-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/all-product-headers.yaml -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/MyProject\ preprod-project-headers.hmap -I/Users/vagrant/git/platforms/ios/build/device/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/InstallationBuildProductsLocation/Applications/usr/local/lib/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/UninstalledProducts/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/include -I/Users/vagrant/git/platforms/ios/build/device -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/AppAuth/AppAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseABTesting/FirebaseABTesting.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuth/FirebaseAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCore/FirebaseCore.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCrashlytics/FirebaseCrashlytics.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstallations/FirebaseInstallations.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessaging/FirebaseMessaging.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig/FirebaseRemoteConfig.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GTMAppAuth/GTMAppAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/PromisesObjC/FBLPromises.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/Protobuf/Protobuf.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/ZIPFoundation/ZIPFoundation.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/iOSDFULibrary/iOSDFULibrary.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/nanopb/nanopb.framework/Headers -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public/Firebase -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/InstallationBuildProductsLocation/Applications/usr/local/lib/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/UninstalledProducts/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/include -I/Users/vagrant/git/platforms/ios/build/device -I/Users/vagrant/git/platforms/ios/Pods/Firebase/CoreOnly/Sources -I/Sources/FBLPromises/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/DerivedSources-normal/arm64 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/DerivedSources/arm64 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/DerivedSources -F/Users/vagrant/git/platforms/ios/build/device -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/AppAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseABTesting -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCore -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCrashlytics -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstallations -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstanceID -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessaging -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GTMAppAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GTMSessionFetcher -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GoogleDataTransport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/GoogleUtilities -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/PromisesObjC -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/Protobuf -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/ZIPFoundation -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/iOSDFULibrary -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/nanopb -F/Users/vagrant/git/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/vagrant/git/platforms/ios/Pods/FirebaseFirestore/FirebaseFirestore -F/Users/vagrant/git/platforms/ios/Pods/FirebasePerformance/Frameworks -F/Users/vagrant/git/platforms/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/vagrant/git/platforms/ios/Pods/GoogleSignIn/Frameworks -F/Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore -FMyProject\ preprod/Plugins/cordova-plugin-background-fetch -include /Users/vagrant/git/platforms/ios/build/sharedpch/SharedPrecompiledHeaders/1782129020257540324/MyProject\ preprod-Prefix.pch -MMD -MT dependencies -MF /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/Objects-normal/arm64/FirebasePlugin.d --serialize-diagnostics /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/Objects-normal/arm64/FirebasePlugin.dia -c /Users/vagrant/git/platforms/ios/MyProject\ preprod/Plugins/cordova-plugin-firebasex/FirebasePlugin.m -o /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/Objects-normal/arm64/FirebasePlugin.o
In file included from /Users/vagrant/git/platforms/ios/MyProject preprod/Plugins/cordova-plugin-firebasex/FirebasePlugin.m:1:
/Users/vagrant/git/platforms/ios/MyProject preprod/Plugins/cordova-plugin-firebasex/FirebasePlugin.h:4:9: fatal error: module 'FirebaseFirestore' not found
@import FirebaseFirestore;
 ~~~~~~~^~~~~~~~~~~~~~~~~
1 error generated.

The following build commands failed:
    CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/MyProject_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject\ preprod/IntermediateBuildFilesPath/MyProject\ preprod.build/Release-iphoneos/MyProject\ preprod.build/Objects-normal/arm64/FirebasePlugin.o /Users/vagrant/git/platforms/ios/MyProject\ preprod/Plugins/cordova-plugin-firebasex/FirebasePlugin.m normal arm64 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 subprocess cordova.

        cordova build ios --release --device --buildConfig /var/folders/6q/wgy6jtp12w5gz... exited with exit code 65.

Environment information

ionut-tanasa commented 3 years ago

@QuentinFarizon i have the same issue but with latest stable version of cocoapods, which for you is working somehow.

not using bitrise though, locally on my mac.

I installed pod 1.10.2 and plugin 11.0.3-cli and i get the same build error

fun fact: if i build manually on xcode it works, from command line it doesn't.

QuentinFarizon commented 3 years ago

@ionut-tanasa If you just upgraded to plugin 11.0.3-cli, be sure to get the latest version of this plugin dependencies (ANDROID_PLAY_SERVICES_AUTH_VERSION, ...). As they are pinned in package.json, best to remove and reinstall this plugin, this will overwrite versions in package.json

martingarcia95 commented 3 years ago

Hi @QuentinFarizon I had the same error when I tried to update 11.0.0-cli to 13.0.1-cli. After updated in my pakage.json (13.0.1-cli), I ran this command: pod repo update. It worked for me. You can look at the documentation and see the next steps here