我有一个Ionic 3应用程序。我正在尝试使用创建ios构建,但失败并出现以下错误:
The following build commands failed:
CompileC /Users/jasontxf/Library/Developer/Xcode/DerivedData/ManyTutors-gciyzubmaljrbkejonynzshevvin/Build/Intermediates.noindex/ArchiveIntermediates/ManyTutors/IntermediateBuildFilesPath/ManyTutors.build/Release-iphoneos/ManyTutors.build/Objects-normal/arm64/CDVWKWebViewEngine.o /Users/jasontxf/Dropbox/ask-manytutors-v6/platforms/ios/ManyTutors/Plugins/cordova-plugin-ionic-webview/CDVWKWebViewEngine.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
(node:65230) UnhandledPromiseRejectionWarning: Error: xcodebuild: Command failed with exit code 65
at ChildProcess.whenDone (/Users/jasontxf/Dropbox/ask-manytutors-v6/node_modules/cordova-common/src/superspawn.js:136:25)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:970:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
(node:65230) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:65230) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
我尝试了以下命令来创建构建:
ionic cordova build ios --buildFlag="-UseModernBuildSystem=0" --release
ionic cordova build ios --release
我用来强制使用最新的构建系统的第一个。我还从Xcode的File => project setting => Latest build system(默认)更改为最新版本
项目配置
Ionic Version: 3.9.2
cordova-ios: 6+
node version: 10.15.1
Xcode Version: 12+
任何建议将不胜感激。