1

我正在尝试升级 Ionic Cordova 应用程序中的插件,但在 iOS 中不断出现错误(在 Android 上很好)。我单击该应用程序,它会加载启动画面,但会卡在那里。我在 XCode 中收到以下错误: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SFHybridViewController setEnabledAutorotation:]: unrecognized selector sent to instance

我相信SFHybridViewController与我正在使用的 Salesforce Mobile SDK 有关,但堆栈跟踪是: 在此处输入图像描述

这些是我的插件:

om.salesforce 8.1.0 "SalesforceMobileSDK Plugins"
cordova-plugin-camera-with-exif 1.3.1 "cordova-plugin-camera-with-exif"
cordova-plugin-cocoapod-support 1.6.2 "Cordova CocoaPods Dependency Support"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-dialogs 2.0.1 "Notification"
cordova-plugin-email-composer 0.9.2 "EmailComposer"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
cordova-plugin-splashscreen 5.0.4 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-wkwebview-engine 1.2.2-dev "Cordova WKWebView Engine"
cordova-plugin-wkwebviewxhrfix 0.1.0 "WKWebView XHR Fix"
cordova.plugins.diagnostic 5.0.1 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-barcodescanner 8.0.1 "BarcodeScanner"

我也在使用:

Ionic 2.1.4
Cordova iOS 5.1.1
Cordova 9.0.0 (cordova-lib@9.0.1)
4

0 回答 0