IBM Mobile Quality Assurance:发送到实例的无法识别的选择器
IBM Mobile Quality Assurance: unrecognized selector sent to instance
我已经学习了这个教程:https://mobilefirstplatform.ibmcloud.com/tutorials/en/quality-assurance/8.0/cordova/
如果我 运行 应用程序,它会抛出以下错误:
2016-06-30 11:51:29.181 HelloWorld[8767:236400] -[MQACordovaPlugin initWithWebViewEngine:]: unrecognized selector sent to instance 0x7ff8d5a21ad0
2016-06-30 11:51:29.182 HelloWorld[8767:236400] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: -[MQACordovaPlugin initWithWebViewEngine:]: unrecognized selector sent to instance 0x7ff8d5a21ad0
这是我的终端的历史记录:
Sebastians-MBP:mqatest:$ cordova create hello com.example.hello HelloWorld
Creating a new cordova project.
Sebastians-MBP:mqatest:$ cd hello/
Sebastians-MBP:hello:$ cordova platform add ios
Adding ios project...
iOS project created with cordova-ios@4.1.1
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for ios
Sebastians-MBP:hello:$ cordova plugin add /Users/Sebastian/temp/CordovaPlugin-3.0.18
Installing "com.ibm.mqa" for ios
Sebastians-MBP:hello:$ cordova plugin add cordova-plugin-device
Fetching plugin "cordova-plugin-device" via npm
Installing "cordova-plugin-device" for ios
Sebastians-MBP:hello:$ cordova plugin list
com.ibm.mqa 3.0.18 "IBM MobileFirst Quality Assurance"
cordova-plugin-device 1.1.2 "Device"
cordova-plugin-whitelist 1.2.2 "Whitelist"
Sebastians-MBP:hello:$ cordova build
在 xcode 中构建工作正常,应用程序正在启动,但 MQA 不工作。
在我的环境中似乎有问题。这是我的科尔多瓦版本:
Sebastians-MBP:hello:$ cordova -version
6.2.0
我也上传了项目 here(删除了我的应用程序密钥,但在 xcode 中仍然是相同的结果)。
删除您的 iOS 平台并将您的 iOS 运行时更改为 3.7。
cordova platform rm ios
cordova platform add ios@3.7
我已经学习了这个教程:https://mobilefirstplatform.ibmcloud.com/tutorials/en/quality-assurance/8.0/cordova/
如果我 运行 应用程序,它会抛出以下错误:
2016-06-30 11:51:29.181 HelloWorld[8767:236400] -[MQACordovaPlugin initWithWebViewEngine:]: unrecognized selector sent to instance 0x7ff8d5a21ad0
2016-06-30 11:51:29.182 HelloWorld[8767:236400] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: -[MQACordovaPlugin initWithWebViewEngine:]: unrecognized selector sent to instance 0x7ff8d5a21ad0
这是我的终端的历史记录:
Sebastians-MBP:mqatest:$ cordova create hello com.example.hello HelloWorld
Creating a new cordova project.
Sebastians-MBP:mqatest:$ cd hello/
Sebastians-MBP:hello:$ cordova platform add ios
Adding ios project...
iOS project created with cordova-ios@4.1.1
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for ios
Sebastians-MBP:hello:$ cordova plugin add /Users/Sebastian/temp/CordovaPlugin-3.0.18
Installing "com.ibm.mqa" for ios
Sebastians-MBP:hello:$ cordova plugin add cordova-plugin-device
Fetching plugin "cordova-plugin-device" via npm
Installing "cordova-plugin-device" for ios
Sebastians-MBP:hello:$ cordova plugin list
com.ibm.mqa 3.0.18 "IBM MobileFirst Quality Assurance"
cordova-plugin-device 1.1.2 "Device"
cordova-plugin-whitelist 1.2.2 "Whitelist"
Sebastians-MBP:hello:$ cordova build
在 xcode 中构建工作正常,应用程序正在启动,但 MQA 不工作。 在我的环境中似乎有问题。这是我的科尔多瓦版本:
Sebastians-MBP:hello:$ cordova -version
6.2.0
我也上传了项目 here(删除了我的应用程序密钥,但在 xcode 中仍然是相同的结果)。
删除您的 iOS 平台并将您的 iOS 运行时更改为 3.7。
cordova platform rm ios
cordova platform add ios@3.7