iOS - cordova-plugin-firebasex 16.0.0 - IPA not build

When building the IPA with the cordova-plugin-firebasex 16.0.0 not able to build

its showing below error

The following build commands failed:
CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/Qtanium_Connect-ccjvlqlnmxtmeebuxsjyvhibkfxx/Build/Intermediates.noindex/ArchiveIntermediates/Qtanium\ Connect/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/BoringSSL-GRPC.build/Objects-normal/arm64/tls_record.o /Users/vagrant/voltbuilder/agent/upload/60a8a96f-1dba-461f-83cf-a258c7c6329f/platforms/ios/Pods/BoringSSL-GRPC/src/ssl/tls_record.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target ā€˜BoringSSL-GRPC’ from project ā€˜Pods’)
Archiving workspace Qtanium Connect with scheme Qtanium Connect
(2 failures)
xcodebuild: Command failed with exit code 65

But same was build before 2 days. But today its not build

Can you attempt using 18.0.6 - several bugs were fixed since the 18.0.0 release.

Same issue here, it just stopped working yesterday. I have been successfully uploading several builds until it just stopped working all of a sudden. Have there been any changes made at the build processing side?

I’ve tried with this below as like mentioned

<plugin name="cordova-plugin-firebasex" spec="18.0.6" source="npm" >

Still having same error. Before few days its working with same config settings.

Sometimes got this below error
UserError: Conflict found, edit-config changes from config.xml will overwrite plugin.xml changes.
To figure out which edit-config clause is the problem,
remove edit-config clauses from config.xml one at a time and rerun.

We recently updated to macOS 15.4 and Xcode 16.3. This is required by Apple who will drop support for apps compiled with Xcode 15 on April 24th.

If you both could share your build IDs or logs I can attempt to determine what the problem is.

Build ID: 32356fac-7e9d-4159-bb7e-de16ed41ff0a

My latest attempted build ID is b11ea6fa-9c42-4019-af12-03b0b9a952be

Thank you for looking into it

It appears you are using a 5 year old cordova-ios engine. I would suggest updating to at least 6.x, if not the latest 7.1.1. Give that a try and see if your build completes.

Please check this build ID = dc09b2d1-f9b8-4139-9ef4-0b4c5054ddc5

I’ve updated the Corodva-ios engine with 7.1.1

<engine name="ios" spec="7.1.1" />

The problem is the plugin: @brodybits/cordova-plugin-ios-xhr

The error is: /platforms/ios/Qtanium Connect/Plugins/@brodybits/cordova-plugin-ios-xhr/CDVWKWebViewFileXhr.m:38:9: error: 'ClientCertificate.h' file not found (in target 'Qtanium Connect' from project 'Qtanium Connect')

Looking at the plugin issues, it looks like including this may fix the issue: cordova-plugin-client-certificate-support

I do see our error was misleadsing. I’ll look into this.

You are using an old version of cordova-plugin-purchases which uses an old version of the PurchasesHybridCommon pod, which is causing the error. Try updating to the latest version and see if that resolves the issue.

Build ID: 621cc992-fac5-4d3a-9274-4a47f30ccfd0

I’ve included this plugin ā€œcordova-plugin-client-certificate-supportā€ but still its shows below error

UserError: Conflict found, edit-config changes from config.xml will overwrite plugin.xml changes.
To figure out which edit-config clause is the problem,
remove edit-config clauses from config.xml one at a time and rerun.

What we need to update, please help.

I’m sorry, that error is misleading and we’re working on fixing it. The actual error from the log is this:

/platforms/ios/Qtanium Connect/Plugins/cordova-plugin-firebasex/AppDelegate+FirebasePlugin.h:3:9: error: 'FirebaseAuth-Swift.h' file not found (in target 'Qtanium Connect' from project 'Qtanium Connect')
    /platforms/ios/Qtanium Connect/Plugins/cordova-plugin-firebasex/FirebasePlugin.m:3:9: note: in file included from /platforms/ios/Qtanium Connect/Plugins/cordova-plugin-firebasex/FirebasePlugin.m:3:

I noticed you dropped back down to cordova-ios 5.1.1 - I don’t think modern versions of cordova-plugin-firebasex can work with such an old end. Please try updating to the newer engine.

Build ID: 968e922a-639b-440e-ae35-c52b187e66a3

Updated back to the Corodva-ios engine with 7.1.1

You have a conflict between cordova-plugin-wkwebview-file-xhr and @brodybits/cordova-plugin-ios-xhr - both implement the same class - you need to choose one or the other.

Thank you, it works now. For reference, I had to make these changes to config.xml (in case anyone else runs into the same issue):

<preference name="deployment-target" value="13.0" />
<plugin name="cordova-plugin-firebasex" spec="^18.0.6">
<plugin name="cordova-plugin-purchases" spec="^6.2.7" />
1 Like

I’ve updated with this plugin @ahovakimyan/cordova-plugin-wkwebviewxhrfix, now app build properly

<engine name="ios" spec="7.1.1" />

But when opening the app ajax call failed it shows readystate:0, status:0, statusText: error

Also when opening keyboard, app is crashed and closed.

[Build ID: d6816402-91c4-4ce4-962a-602a8f81c273]

please help to fix these issues

We suggest using remote debugging to understand what’s going on with your app: Troubleshooting | VoltBuilder

If you can provide the console output we may be able to help.