Ionic Cordova构建ios失败
发布时间:2020-12-14 19:58:43 所属栏目:百科 来源:网络整理
导读:嘿我正在尝试为ios构建我的离子cordova应用程序. 当我跑: 离子cordova build ios –release 我的构建失败了 ** BUILD FAILED **The following build commands failed:CompileC /Users/blakemabe/Library/Developer/Xcode/DerivedData/MyApp-fmpngedelpajbad
嘿我正在尝试为ios构建我的离子cordova应用程序.
当我跑: 离子cordova build 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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |