I’m getting this error when running ionic cordova build ios --release --buildFlag='-UseModernBuildSystem=0'
:
The following build commands failed:
CompileC /Users/xxxxxxxx/Library/Developer/Xcode/DerivedData/xxxxxx-ftrhrospgqgqlaevfiwsgnfxhzen/Build/Intermediates.noindex/xxxxxx.build/Release-iphonesimulator/xxxxxxxx.build/Objects-normal/x86_64/UniversalAnalyticsPlugin.o /Users/xxxxxxx/WebstormProjects/xxxxxx/platforms/ios/xxxxxxxx/Plugins/cordova-plugin-google-analytics/UniversalAnalyticsPlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
(node:4663) UnhandledPromiseRejectionWarning: Error: xcodebuild: Command failed with exit code 65
at ChildProcess.whenDone (/Users/borjaalonsomelero/WebstormProjects/journify-hybrid-app/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:135:23)
at ChildProcess.emit (events.js:310:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
@ionic/cli: 6.6.0
cordova: 8.0.0
cordova-ios: 5.0.1
Any help?