I have followed this tutorial: https://mobilefirstplatform.ibmcloud.com/tutorials/en/quality-assurance/8.0/cordova/
If I run the app, it throws the following error:
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
Here is the history of my terminal:
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
Building in xcode works fine and the app is starting, but MQA is not working.
Seems to be something wrong in my environment. This is my cordova version:
Sebastians-MBP:hello:$ cordova -version
6.2.0
I've also uploaded the project here (removed my app key, but still the same result in xcode).
Remove your iOS platform and change your iOS runtime to 3.7.
cordova platform rm ios
cordova platform add ios#3.7
Related
I'm facing a issue after upgrading cordova android project to version 6.3.0 in using Camera and Geolocation plugin. These both plugin uses Permission helper class which requires cordova-plugin-compat. But with cordova android version 6.3.0 release cordova-plugin-compat is no longer supported (
https://cordova.apache.org/news/2017/09/22/plugins-release.html) as it is included in the core. But I'm getting error on resolving org.apache.cordova.PermissionHelper and in org.apache.cordova.BuildHelper . How to solve this issue.
Update cordova-plugin-compat to v1.2, which contains a restriction preventing the plugin files being deployed to cordova-android#6.3.0+:
cordova plugin rm cordova-plugin-compat --force
&& cordova plugin add cordova-plugin-compat#1.2
I am developing a push notification app for iOS in xcode 6.1.1.
I am using cocoapods and Firebase Cloud Messaging in Objective-C.
I have Performed all the steps properly but on compiling the project I get lot of parse issues in pod files(pod files like GPBCodedInputStream.h, GPBArray.h, GPBDictionary.h,etc).
What is the solution for this??
for Firebase Cloud Messaging prerequisites, you need a few things set up in your environment:
Xcode 7.0 or later
An Xcode project targeting iOS 7 or above
The bundle identifier of your app
CocoaPods 1.0.0 or later
I have MobileFirst 7.1 installed and I downloaded the IBMApplicationCenter.apk onto Android 5.1 phone. When I install it says "app not installed".
I set "allow unknown sources" and searched for any previous apps. How else can I debug this .. or is this version of the apk too old ?
From the phrasing of your question it does seem like you are using an incompatible version?
As part of the Application Center installation you have the AppCenter source - an Android project. You need to build that project into an .apk and you need to make sure that your development environment supports Android 5.1 - the configuration in AndroidManifest.xml.
What have you configured?
I'm using Worklight Studio 6.1.0.00-20131219-1900 and trying to build an app for Blackberry 10
I create a new Worklight app (no customizations other than adding the blackberry 10 environment), run it on the Worklight server, and use ripple to build and deploy to the blackberry 10 simulator.
The app installs on the simulator, But when it launches, I immediately get a JavaScript error:
[ERROR] Error initializing Cordova: Extension Device not found
This is possibly related to a problem seen with Cordova 3.1 (see: Error initializing cordova: Extension device not found in PhoneGap 2.9.0 and blackberry10 webworks application) but I'm not seeing any solutions.
Is there any way to get Worklight 6.1 apps to work on Blackberry 10?
My guess is that your issue is mentioned in infocenter
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.dev.doc%2Fdevref%2Ft_creating_a_new_ibm_BlackBerry_10_environment.html
basically, did you do the "ant qnx copy-extensions" command ?
I am new to titanium, i already set Android sdk its working fine with my eclipse indigo. I mean i can able to launch android 2.2 google api emulator in that IDE. But In titanium it showing error message Items required An Android SDK is missing.Titanium requires Android platform 2.2 I have follow this post Titanium Studio cannot find Android SDK and fixed some path issues. But still i am getting same error. Need guidance to set up environment.