Phonegap cordova in xcode 4 - html

I have installed phonegap onto my mac however when i click to create a new project there is no option for me to select a phonegap application in xcode.
Why is phonegap not displaying in xcode?

You create a "PhoneGap Application" in XCode by loading in the template that comes with the PhoneGap download. See the PhoneGap Getting Started Guide for iOS (Link Here). You basically need to run a terminal command to create a default XCode project, and then open it up in XCode.

Related

How to install cordova in existing html project?

I have an html project that need to convert into xcode project. I am tried of creating new xcode project by using cordova successfully done but i want install cordova in a existing html project to create xcode porject.

Distribution App cannot install in iOS 10

An IPA file is generated from Xcode Version 7.3.1 (7D1014) and I would like to install it onto an iPhone running iOS 10, but nothing happens after I click the install button.
I uploaded it to dropbox using Betabuilder for iOS apps.
That IPA file can be installed on iOS 8.x and iOS 9.x. I tried searching for this issue online and I cannot find a solution.
In Betabuilder for iOS apps need following files
App's Icon
Project.ipa
index.html
manifest.plist
The problem i cannot install app in iOS 10 is I forget to add project name in manifest.plist. But apps can be installed in iOS 9,8.
Please see the screen shot below.

Setting up phonegap development environment

I am working on the windows-8 PC. And i have some HTML app gui which i want to convert to android mobile app.
I am new to phonegap.
How to setup the development environment for phonegap?
1> Following tool android developers app tells to use phonegap cli to create new project :--
http://phonegap.com/blog/2014/04/23/phonegap-developer-app/
This video uses Android sdk to create new project :--
http://www.youtube.com/watch?v=MF6dzbTDwdY
Which is the best methord to start working with phonegap ?
Do we need android SDK if we work with phonegap cli ?
2> This link tells to use commandline or IDE methord to create phonegap projects :--
https://github.com/phonegap/phonegap/wiki
3> What exactly is the relation between android SDK & phonegap cli .. ?
i would recommend you to use Cordova. Why? Yes, there is no realy reason why to do this, It's rather a question of what you like to work with.
I'm using Cordova. Maybe you read the Getting started guide and then the following documentation.
After you installed all, you can open up the CMD and create a new cordova project. If you want to know, how to do this, go on with the posted link above. A little bit under the setup instructions you can find a Guide which explains you, how to setup a new project and so on.
If you work with Cordova, you need Eclipse and i would recommend you to install Genymotion for having more options of deploying an app to a device.
Later on, if you would like to convert an Application to another platform you can use the Phonegap Build from Adobe. But normaly you can use your code like you wrote it for android 1:1 for iOS. Maybe there are some tiny differences, but they would'nt be fixed by the phonegap build i think. So... i would say there is no way to say "You should work with Phonegap" or "You should work with Cordova" it's your choice.
If you want to build app for android locally you'll need android SDK. This is because phonegap/cordova uses the android SDK to wrap the app.
Basically phonegap/cordova uses the SDK to compile the project for android platform and to build the APK file which can be installed in devices. You can interpret as Phonegap/cordova cli is an interface between android technology and cross platform technology. Similarly iOS will need some native technology to work with phonegap. Thiese SDK helps to build and package the app for their own platform which you've written in HTML/CSS/Javascript.

How add AIR project in Crashlytics dashboard?

I include in my AIR Mobile project Air Native Extension for Crashlytics from freshplanet. I build my application to *.apk file. How can I add my AIR project in Crashlytics dashboard?
So far it seems only to be possible to add a project to the dashboard via the crashlytics IDE plugin.
The problem is that I don't have an android module so the plugin is not enabling me to create a new app to use in the dashboard

How to change config settings on local ios phonegap build from the new Phonegap CLI?

FYI; Phonegap CLI: http://log.michaelbrooks.ca/post/phonegap-cli-preview
So, after making a build with the new Phonegap CLI, getting a project with the new Phonegap 3.0, I wanted to run my application on an ios simulator:
> phonegap local run ios
This successfully install the phonegap application onto the IOS 6.1 simulator and runs it- all good so far. Problem is that all REST-functionality is not working. I dig around and find out that the phonegap local run ios automatically creates a ios xcode project at /platforms/ios/. Inside this folder I can locate a config.xml-file with access origin set to only allow http://127.0.0.1*. Now, I want to change this, so I do. Problem is that when I run phonegap local run ios again the old config file is back.
So basically, the questions end out in:
How do I change the Phonegap configuration settings when using Phonegap CLI?
Ah, I feel very embarrassed now, but I think its better to share then to delete :)
If you have a config.xml file in your www-folder (which shipped originally, but I have removed) you can change the values from there. This file will be copied over.
So in my config.xml-file inside my apps www-folder I found:
<access origin="http://127.0.0.1*"/>
Just before the last tag, . I changed this to:
<access origin="*"/>
And then everything worked :)