gpt4 book ai didi

ios - Ionic Cordova 构建 ios 失败

转载 作者:可可西里 更新时间:2023-11-01 03:20:27 27 4
gpt4 key购买 nike

嘿,我正在尝试为 ios 构建我的 ionic cordova 应用程序。当我运行时: ionic Cordova 构建 ios --release我的构建失败了

** BUILD FAILED **


The following build commands failed:
CompileC
/Users/blakemabe/Library/Developer/Xcode/DerivedData/MyApp-
fmpngedelpajbadyfzqoksexavsk/Build/Intermediates/MyApp.build/Release-
iphonesimulator/MyApp.build/Objects-normal/i386/FirebasePlugin.o
MyApp/Plugins/cordova-plugin-firebase/FirebasePlugin.m normal i386
objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
(node:12626) UnhandledPromiseRejectionWarning: Error code 65 for
command: xcodebuild with args: -
xcconfig,/Users/blakemabe/Desktop/drive/drive_ionic/platforms/ios/cordova/b
uild-release.xcconfig,-workspace,MyApp.xcworkspace,-scheme,MyApp,-
configuration,Release,-sdk,iphonesimulator,-destination,platform=iOS
Simulator,name=iPhone 6s
Plus,build,CONFIGURATION_BUILD_DIR=/Users/blakemabe/Desktop/drive/drive_ionic/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/blakemabe/Desktop/drive/drive_ionic/platforms/ios/build/sharedpch
(node:12626) 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:12626) [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.

最佳答案

此错误是由于同时具有 cordova-plugin-wkwebview-engine 和较新的 cordova-plugin-ionic-webview 造成的。

我通过做修复了

ionic cordova plugin remove cordova-plugin-wkwebview-engine

然后我可以再次运行:

ionic cordova run ios

关于ios - Ionic Cordova 构建 ios 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47983546/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com