Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS build error : FirebaseFirestore ld: symbol(s) not found for architecture arm64 #782

Closed
QuentinFarizon opened this issue Nov 30, 2022 · 9 comments
Labels
build issue An issue related to build process caveat A limitation of using this plugin which can't be (easily?) fixed Firebase SDK Relates to the Firebase SDK library which this plugin wraps Firestore Related to Firebase Firestore Realtime Database ios relates to iOS platform

Comments

@QuentinFarizon
Copy link

Current behavior:

I am currently trying to update to version 15.0.0-cli and Xcode 14.1.x, on macOS 13.0 (Ventura)

I'm getting a build error on iOS (Android builds fine)

Environment information

  • Cordova CLI version
    • 11.0.0
  • Cordova platform version
    • cordova-ios : 6.2.0
  • Plugins & versions installed in project (including this plugin)
    • cordova-firebasex : 15.0.0-cli
  • Dev machine OS and version, e.g.
    • OSX
      • macOS 13.0 (Ventura)

iOS build issue:

  • Node JS version
    • v16.18.1
  • XCode version
    • Xcode 14.1.x

Console output
I'm getting this error during iOS build :

CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/APPBadge.o /Users/vagrant/git/platforms/ios/Boks\ preprod/Plugins/cordova-plugin-badge/APPBadge.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Boks preprod' from project 'Boks preprod')
    cd /Users/vagrant/git/platforms/ios
    /Applications/Xcode-14.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 -Wno-implicit-fallthrough -DWK_WEB_VIEW_ONLY\=1 -DWK_WEB_VIEW_ONLY\=1 -DCOCOAPODS\=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-14.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.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/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Boks\ preprod-generated-files.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Boks\ preprod-own-target-headers.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Boks\ preprod-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/all-product-headers.yaml -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Boks\ preprod-project-headers.hmap -I/Users/vagrant/git/platforms/ios/build/device/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/InstallationBuildProductsLocation/Applications/usr/local/lib/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/UninstalledProducts/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/include -I/Users/vagrant/git/platforms/ios/build/device -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/AppAuth/AppAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/Curve25519/Curve25519.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/ESPProvision/ESPProvision.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseABTesting/FirebaseABTesting.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAppCheckInterop/FirebaseAppCheckInterop.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuth/FirebaseAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuthInterop/FirebaseAuthInterop.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCore/FirebaseCore.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreExtension/FirebaseCoreExtension.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreInternal/FirebaseCoreInternal.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCrashlytics/FirebaseCrashlytics.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseFunctions/FirebaseFunctions.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstallations/FirebaseInstallations.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessaging/FirebaseMessaging.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessagingInterop/FirebaseMessagingInterop.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebasePerformance/FirebasePerformance.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig/FirebaseRemoteConfig.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseSharedSwift/FirebaseSharedSwift.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GTMAppAuth/GTMAppAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleSignIn/GoogleSignIn.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/PromisesObjC/FBLPromises.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/SwiftProtobuf/SwiftProtobuf.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/ZIPFoundation/ZIPFoundation.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/iOSDFULibrary/iOSDFULibrary.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ 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/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/InstallationBuildProductsLocation/Applications/usr/local/lib/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/UninstalledProducts/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/include -I/Users/vagrant/git/platforms/ios/build/device -I/Users/vagrant/git/platforms/ios/Pods/Firebase/CoreOnly/Sources -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/DerivedSources-normal/arm64 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/DerivedSources/arm64 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/DerivedSources -F/Users/vagrant/git/platforms/ios/build/device -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/AppAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/Curve25519 -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/ESPProvision -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseABTesting -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAppCheckInterop -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuthInterop -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCore -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreExtension -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreInternal -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCrashlytics -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseFunctions -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstallations -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessaging -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessagingInterop -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebasePerformance -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseSharedSwift -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GTMAppAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GTMSessionFetcher -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleDataTransport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleSignIn -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleUtilities -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/PromisesObjC -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/SwiftProtobuf -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/ZIPFoundation -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/iOSDFULibrary -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ 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/GoogleAppMeasurement/Frameworks -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/Base -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/WithLeveldb -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -FBoks\ preprod/Plugins/cordova-plugin-background-fetch -include /Users/vagrant/git/platforms/ios/build/sharedpch/SharedPrecompiledHeaders/3579095316959286347/Boks\ preprod-Prefix.pch -MMD -MT dependencies -MF /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/APPBadge.d --serialize-diagnostics /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/APPBadge.dia -c /Users/vagrant/git/platforms/ios/Boks\ preprod/Plugins/cordova-plugin-badge/APPBadge.m -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/APPBadge.o
Ld /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/InstallationBuildProductsLocation/Applications/Boks\ preprod.app/Boks\ preprod normal (in target 'Boks preprod' from project 'Boks preprod')
    cd /Users/vagrant/git/platforms/ios
    /Applications/Xcode-14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios11.0 -isysroot /Applications/Xcode-14.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk -L/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/EagerLinkingTBDs -L/Users/vagrant/git/platforms/ios/build/device -L/Applications/Xcode-14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/Applications/Xcode-14.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk/usr/lib/swift -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/EagerLinkingTBDs -F/Users/vagrant/git/platforms/ios/build/device -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/AppAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/Curve25519 -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/ESPProvision -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseABTesting -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAppCheckInterop -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseAuthInterop -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCore -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreExtension -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreInternal -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseCrashlytics -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseFunctions -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseInstallations -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessaging -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseMessagingInterop -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebasePerformance -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/FirebaseSharedSwift -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GTMAppAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GTMSessionFetcher -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleDataTransport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleSignIn -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/GoogleUtilities -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/PromisesObjC -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/SwiftProtobuf -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/ZIPFoundation -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/iOSDFULibrary -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ 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/GoogleAppMeasurement/Frameworks -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/Base -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseFirestore/WithLeveldb -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -FBoks\ preprod/Plugins/cordova-plugin-background-fetch -filelist /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/Boks\ preprod.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/Boks\ preprod_lto.o -Xlinker -final_output -Xlinker /Applications/Boks\ preprod.app/Boks\ preprod -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode-14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/Boks_preprod.swiftmodule -ObjC -ObjC -lc++ -lsqlite3 -lz -framework AppAuth -framework BoringSSL-GRPC -framework CoreGraphics -framework CoreTelephony -framework CoreText -framework Curve25519 -framework ESPProvision -framework FBLPromises -framework FirebaseABTesting -framework FirebaseAnalytics -framework FirebaseAppCheckInterop -framework FirebaseAuth -framework FirebaseAuthInterop -framework FirebaseCore -framework FirebaseCoreExtension -framework FirebaseCoreInternal -framework FirebaseCrashlytics -framework FirebaseFirestore -framework FirebaseFirestoreSwift -framework FirebaseFunctions -framework FirebaseInstallations -framework FirebaseMessaging -framework FirebaseMessagingInterop -framework FirebasePerformance -framework FirebaseRemoteConfig -framework FirebaseSharedSwift -framework Foundation -framework GTMAppAuth -framework GTMSessionFetcher -framework GoogleAppMeasurement -framework GoogleAppMeasurementIdentitySupport -framework GoogleDataTransport -framework GoogleSignIn -framework GoogleUtilities -framework Libuv-gRPC -framework LocalAuthentication -framework SafariServices -framework Security -framework StoreKit -framework SwiftProtobuf -framework SystemConfiguration -framework UIKit -framework ZIPFoundation -framework abseil -framework gRPC-C++ -framework gRPC-Core -framework iOSDFULibrary -framework leveldb-library -framework nanopb -weak_framework AuthenticationServices -weak_framework UserNotifications /Users/vagrant/git/platforms/ios/build/device/libCordova.a -weak_framework SafariServices -framework QuartzCore -framework CoreBluetooth -framework Pods_Boks_preprod -weak_framework AudioToolbox -weak_framework WebKit -framework CoreLocation -framework AuthenticationServices -framework TSBackgroundFetch -weak_framework ImageIO -framework AVFoundation -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Boks\ preprod.build/Release-iphoneos/Boks\ preprod.build/Objects-normal/arm64/Boks\ preprod_dependency_info.dat -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/InstallationBuildProductsLocation/Applications/Boks\ preprod.app/Boks\ preprod
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/AppAuth'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/Curve25519'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/ESPProvision'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseABTesting'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseAppCheckInterop'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseAuth'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseAuthInterop'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseCore'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreExtension'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseCoreInternal'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseCrashlytics'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseFunctions'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseInstallations'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseMessaging'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseMessagingInterop'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebasePerformance'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/FirebaseSharedSwift'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/GTMAppAuth'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/GoogleDataTransport'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/GoogleSignIn'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/GoogleUtilities'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/PromisesObjC'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/SwiftProtobuf'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/ZIPFoundation'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/iOSDFULibrary'
ld: warning: directory not found for option '-F/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks preprod/BuildProductsPath/Release-iphoneos/nanopb'
Undefined symbols for architecture arm64:
  "_$s19FirebaseSharedSwift0A11DataDecoderC0D16DecodingStrategyO6base64yA2EmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU_ in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC19KeyDecodingStrategyO14useDefaultKeysyA2EmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU_ in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC19keyDecodingStrategyAC03KeygH0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC20DateDecodingStrategyO6customyAE10Foundation0F0Vs0E0_pKccAEmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU_ in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
      _$s19FirebaseSharedSwift0A11DataDecoderC20DateDecodingStrategyO0a9FirestoreC0E9timestampAEvgZ in FirebaseFirestoreSwift(TimestampDecodingStrategy.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC20dataDecodingStrategyAC0dgH0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC20dateDecodingStrategyAC04DategH0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC34NonConformingFloatDecodingStrategyO5throwyA2EmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$s22FirebaseFirestoreSwift0B15QueryObservableC13configurationACySayqd__GGAA0bD0V13ConfigurationVyAE_G_tcAERszSeRd__lufcySo16FIRQuerySnapshotCSg_s5Error_pSgtcfU_qd__SgSo0h8DocumentI0CXEfU_qd__yKXEfU_ in FirebaseFirestoreSwift(FirestoreQueryObservable.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC34nonConformingFloatDecodingStrategyAC03NonghiJ0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC6decode_4fromxxm_yptKSeRzlFTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataDecoderC8userInfoSDys010CodingUserG3KeyVypGvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7DecoderC6decode_4fromxxm_yptKSeRzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC0D16EncodingStrategyO6base64yA2EmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC19KeyEncodingStrategyO14useDefaultKeysyA2EmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC19keyEncodingStrategyAC03KeygH0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC20DateEncodingStrategyO6customyAEy10Foundation0F0V_s0E0_ptKccAEmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$s19FirebaseSharedSwift0A11DataEncoderC20DateEncodingStrategyO0a9FirestoreC0E9timestampAEvgZ in FirebaseFirestoreSwift(TimestampEncodingStrategy.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC20dataEncodingStrategyAC0dgH0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC20dateEncodingStrategyAC04DategH0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC23passthroughTypeResolverAA026StructureCodingPassthroughgH0_pXpvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC34NonConformingFloatEncodingStrategyO5throwyA2EmFWC", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfC in FirebaseFirestoreSwift(EncoderDecoder.o)
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderCAEycfc in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC34nonConformingFloatEncodingStrategyAC03NonghiJ0OvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC6encodeyypxKSERzlFTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift0A11DataEncoderC8userInfoSDys010CodingUserG3KeyVypGvsTj", referenced from:
      _$sSo12FIRFirestoreC22FirebaseFirestoreSwiftE7EncoderC6encodeySDySSypGxKSERzlF in FirebaseFirestoreSwift(EncoderDecoder.o)
  "_$s19FirebaseSharedSwift38StructureCodingPassthroughTypeResolverP02isfG0ySbqd__lFZTq", referenced from:
      l_got.$s19FirebaseSharedSwift38StructureCodingPassthroughTypeResolverP02isfG0ySbqd__lFZTq in FirebaseFirestoreSwift(CodablePassThroughTypes.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED **
The following build commands failed:
	Ld /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/InstallationBuildProductsLocation/Applications/Boks\ preprod.app/Boks\ preprod normal (in target 'Boks preprod' from project 'Boks preprod')
(1 failure)
xcodebuild: Command failed with exit code 65
[ERROR] An error occurred while running subprocess cordova.
@dpa99c
Copy link
Owner

dpa99c commented Nov 30, 2022

I can reproduce this issue if I set IOS_USE_PRECOMPILED_FIRESTORE_POD=true.

It seems there is an issue with the pre-compiled Firestore pod for Firebase SDK v10: invertase/firestore-ios-sdk-frameworks#62
While this has been marked as fixed by this PR, the fix is specified to React Native/Flutter so Cordova projects do not benefit.
I'm not sure if an additional PR can be submitted to fix it for Cordova builds.

The workaround in the meantime is to set IOS_USE_PRECOMPILED_FIRESTORE_POD=false which will pull down and compile the official Firestore pod.
While the build will take longer, it should succeed.

@dpa99c dpa99c added build issue An issue related to build process ios relates to iOS platform Firebase SDK Relates to the Firebase SDK library which this plugin wraps caveat A limitation of using this plugin which can't be (easily?) fixed Firestore Related to Firebase Firestore Realtime Database labels Nov 30, 2022
@QuentinFarizon
Copy link
Author

@dpa99c Thanks !

I have tried without precompiled Firestore pod, and I'm now getting this error :


CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Objects-normal/arm64/internal_slow_tests.o /Users/vagrant/git/platforms/ios/Pods/Curve25519/Curve25519/lib/Ed25519/tests/internal_slow_tests.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Curve25519' from project 'Pods')
    cd /Users/vagrant/git/platforms/ios/Pods
    /Applications/Xcode-14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target arm64-apple-ios11.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -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 -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=Curve25519 -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -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-implicit-fallthrough -DPOD_CONFIGURATION_RELEASE\=1 -DCOCOAPODS\=1 -isysroot /Applications/Xcode-14.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Curve25519-generated-files.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Curve25519-own-target-headers.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Curve25519-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/all-product-headers.yaml -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Curve25519-project-headers.hmap -I/Users/vagrant/git/platforms/ios/build/device/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/DerivedSources-normal/arm64 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/DerivedSources/arm64 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/DerivedSources -F/Users/vagrant/git/platforms/ios/build/device -include /Users/vagrant/git/platforms/ios/Pods/Target\ Support\ Files/Curve25519/Curve25519-prefix.pch -MMD -MT dependencies -MF /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Objects-normal/arm64/internal_slow_tests.d --serialize-diagnostics /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Objects-normal/arm64/internal_slow_tests.dia -c /Users/vagrant/git/platforms/ios/Pods/Curve25519/Curve25519/lib/Ed25519/tests/internal_slow_tests.c -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Boks_preprod-axpubthxykkfxvhflqqrgrpvwivc/Build/Intermediates.noindex/ArchiveIntermediates/Boks\ preprod/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Curve25519.build/Objects-normal/arm64/internal_slow_tests.o
In file included from /Users/vagrant/git/platforms/ios/Pods/Curve25519/Curve25519/lib/Ed25519/tests/internal_slow_tests.c:10:
/Users/vagrant/git/platforms/ios/Pods/abseil/absl/utility/utility.h:43:10: fatal error: 'cstddef' file not found
#include <cstddef>
         ^~~~~~~~~
1 error generated.

I've seen this issue that pertain to this : firebase/firebase-ios-sdk#4537
Ideas from another library (I dont 'use) : flutter-webrtc/flutter-webrtc#168

@dpa99c
Copy link
Owner

dpa99c commented Nov 30, 2022

I'm not getting this error building the example project - I presume you are getting this error building your own project rather than the example project?
Are you able to build the example project to validate your build environment?

From the issues you've linked below, I understand the problem there is that flutter-webrtc was pulling in the libyuv-iOS pod as dependency and this was conflicting with abseil that's pulled in by the Firebase SDK.
So the merged fix was to switch to using Libyuv.

Here's the Podfile.lock from the example project I am able to successfully build from the CLI - you can compare this with yours and see if another plugin in your project is pulling in conflicting pods: Podfile.lock

@QuentinFarizon
Copy link
Author

QuentinFarizon commented Nov 30, 2022

Here is a diff betwen our Podfile.lock : there is no difference on Pods pertaining to Firebase
I'm not sure how to check if there are conflicts

Here is my Podfile.lock : Podfile.lock

screencapture-text-compare-2022-11-30-15_21_35

@QuentinFarizon
Copy link
Author

QuentinFarizon commented Nov 30, 2022

OK I think there is a conflict on header "utility.h" brought by Curve25519 :

In file included from /Users/vagrant/git/platforms/ios/Pods/Curve25519/Curve25519/lib/Ed25519/tests/internal_slow_tests.c:10:
/Users/vagrant/git/platforms/ios/Pods/abseil/absl/utility/utility.h:43:10: fatal error: 'cstddef' file not found

And indeed I find files :

./Pods/Curve25519/Curve25519/lib/Ed25519/additions/utility.h
./Pods/abseil/absl/utility/utility.h

@QuentinFarizon
Copy link
Author

QuentinFarizon commented Nov 30, 2022

I edited the header include to point to the correct one.

My build went from 18min to 32min ;) But it's now building ok ! Thanks @dpa99c

@dpa99c
Copy link
Owner

dpa99c commented Nov 30, 2022

I edited the header include to point to the correct one.

My build went from 18min to 32min ;) But it's now building ok ! Thanks @dpa99c

Hopefully there's a possibility of a solution in the pre-built Firestore repo to fix it for Cordova builds too

@QuentinFarizon
Copy link
Author

QuentinFarizon commented Dec 1, 2022

Hello @dpa99c
They have answered : invertase/firestore-ios-sdk-frameworks#62 (comment)
Do you know how they can detect Cordova target ? (or your plugin target ? not sure what it is about)

@mleech
Copy link

mleech commented Aug 1, 2023

I was running into this, and discovered that I can still use IOS_USE_PRECOMPILED_FIRESTORE_POD=true
if I also set the environment variable SKIP_FIREBASE_FIRESTORE_SWIFT (any value will do - I used 'True')

see the PR linked from this comment invertase/firestore-ios-sdk-frameworks#62 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build issue An issue related to build process caveat A limitation of using this plugin which can't be (easily?) fixed Firebase SDK Relates to the Firebase SDK library which this plugin wraps Firestore Related to Firebase Firestore Realtime Database ios relates to iOS platform
Projects
None yet
Development

No branches or pull requests

3 participants