【问题标题】:Ionic Cordova build ios FailIonic Cordova 构建 ios 失败
【发布时间】:2018-06-07 14:08:12
【问题描述】:

嘿,我正在尝试为 ios 构建我的 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.

【问题讨论】:

  • 在此之前可能有一条错误消息。解决方案可能就在那里......

标签: ios node.js xcode cordova ionic2


【解决方案1】:

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

我通过这样做解决了

ionic cordova plugin remove cordova-plugin-wkwebview-engine

然后我可以再次运行:

ionic cordova run ios

【讨论】:

    猜你喜欢
    • 2019-07-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-01
    • 2019-09-25
    • 2016-10-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多