Error: xcodebuild: Command failed with exit code 65

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?

4663) UnhandledPromiseRejectionWarning: Error: xcodebuild: Command failed with exit code 65

If you do a quick little google on “Xcode exit code 65”, you’ll find that this is a common issue. It means you did not sign your app.

How do I sign it? Anyway, I think it is already signed