iOS build issue

I’m trying to determine what causes this with new and old versions of my apps. This hasn’t happened before with the exact same code.

Command failed with exit code 65: xcodebuild -workspace CliqTags Nearby.xcworkspace -scheme CliqTags Nearby -configuration Release -destination generic/platform=iOS -archivePath CliqTags Nearby.xcarchive archive ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO LD_RUNPATH_SEARCH_PATHS = “@executable_path/Frameworks”

2024-08-17 11:29:10,829 - The following build commands failed:
CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/CliqTags_Nearby-fdrqbrlpxlrzujheynqjxtttlyvb/Build/Intermediates.noindex/ArchiveIntermediates/CliqTags\ Nearby/IntermediateBuildFilesPath/CliqTags\ Nearby.build/Release-iphoneos/CliqTags\ Nearby.build/Objects-normal/arm64/NfcPlugin.o /platforms/ios/CliqTags\ Nearby/Plugins/phonegap-nfc/NfcPlugin.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target ‘CliqTags Nearby’ from project ‘CliqTags Nearby’)
(1 failure)

Neither command line says much about the reason.

Exit code 65: xcodebuild Exit Code 65: What it is and how to solve for iOS and macOS builds | CircleCI

Thanks in advance,
Anders

Now apparent it’s somehow a plugin issue even though it doesn’t hint at that, as a simpler app builds correctly. Will dig deeper.

Update: Replaced @red-mobile/cordova-plugin-nfc with phonegap-nfc-api31-ios13fix that works.