Cordova-plugin-barcodescanner pluggin issue in latest Xcode

the cordova-plugin-barcodescanner plugin, although officially supported by VoltBuilder, has not been actively maintained for over 7 years. This causes compatibility issues, especially on iOS, due to the plugin’s reliance on outdated Objective-C code (CDVBarcodeScanner.mm) that doesn’t align with modern Xcode toolchains, iOS SDKs, or Cordova iOS platforms.

Hello! Can you tell me where you are seeing that there’s “official support” for cordova-plugin-barcodescanner? While we try to support all cordova plugins, many are out of date and require updates to work with the modern build systems.

Dear Voltbuilder Team,

While building the app for the App Store, we encountered an error. After conducting some research and consulting with ChatGPT, we were able to identify the issue and implemented the following solution. basically we need to compatible CDVBarcodeScanner.mm on latest XCode (iOS 18).

Thanks in advance.

Are you asking us to update he plugin for you? I wasn’t quite sure.

I need solutions or can you please provide alternate solutions. It would be nice if you can update the plugins.

If you’d like us to update he plugin, we’d be happy to. Please contact support@volt.build for so we can review the issue further and give you a cost estimate.

Here are plugins that others seem to be having some luck with:

  • @herma/phonegap-plugin-barcodescanner
  • phonegap-plugin-barcodescanner
  • phonegap-plugin-barcodescanner-android12