@gsandersmd wrote:
I have installed a plugin called cordova-plugin-mobile-ocr. When attempting to build for android it builds without issue. however, when trying to build for ios, it is throwing a build error:
=== BUILD TARGET GoogleToolboxForMac OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
** BUILD FAILED **
The following build commands failed:
ProcessProductPackaging “” /Users/gregorysanders/Library/Developer/Xcode/DerivedData/hybridchart3-bgmbxulfhipiawanpfufxlhawkuq/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleMobileVision-GoogleMVTextDetectorResources.build/GoogleMVTextDetectorResources.bundle-Simulated.xcent
(1 failure)
CordovaError: Promise rejected with non-error: ‘Error code 65 for command: xcodebuild with args: -xcconfig,/Users/gregorysanders/ionictest/hybridchart3-ocr/platforms/ios/cordova/build-debug.xcconfig,-workspace,hybridchart3.xcworkspace,-scheme,hybridchart3,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/gregorysanders/ionictest/hybridchart3-ocr/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/gregorysanders/ionictest/hybridchart3-ocr/platforms/ios/build/sharedpch,-UseModernBuildSystem=0’
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
[ ERROR ] An error occurred while running subprocess cordova .
cordova build ios --buildFlag=-UseModernBuildSystem=0 exited with exit code 1.
I removed platform ios and re-added it.
I did a Pod Update from the platform/ios folder as well.
Still getting the error.Any help would be appreciated. Thanks.
Posts: 1
Participants: 1