No phonegap based project template found while creating new xcode project - ios

I have to proceed with an existing phoengap application using phonegap 1.5 .
But when i am installing phonegap in my xcode 4.5.2 , I am not getting any option for "Phonegap based project" .
I am sure i have ios SDK and everything else required , but dont know what is wrong here .
Stucked in the same issue for weeks and no output.

In th latest versions of PhoneGap, there wont be any template in XCode available. You need to use command line to create a new project. This link tells how to do it : http://docs.phonegap.com/en/2.5.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS
Check the Project Creation section.

Related

How to properly sync code with svn iOS XCode

I am new to iOS development. I am using Xcode 8.1. I am trying to add svn to my project. I was able to add it,code is also getting updated. But when two users edit the same line in code it is not showing any clashes, the latest code is getting updated . Am I making any mistake?. What are the other alternatives?

Selected folder doesn't contain a config.xml in phonegap

I am using windows 7 .my antivirus is now disabled. I want to build a hybrid app. i downloaded phone gap. when i creating new phone gap project their shows "Selected folder doesn't contain a config.xml ". I tried lot of time but i cant able to create a project .after seeing this message selected folder contain 4 folders but it is empty. I want to built a hybrid app but i am stuck in beginning stage.so please help me to solve problem.
i am attaching screenshot of project creation and error message .1st screen shot is how i created project.2nd one is error message when i click create project.3rd one is empty folders created in selected folder for creating project.
When i select a folder with config file it show below error...
It helped me to create the project through the PhoneGap CLI and then just add the project in the Gui. That worked for me
Install phonegap Cli with npm: npm install -g phonegap#latest
Go to your project folder and create the project: phonegap create testproject
Start the PhoneGap Desktop App and add the existing project
We've pinpointed the issue, there seems to be have been a recent change to the template and it seems to have a compatibility issue with the connect-phonegap create API which is used by PhoneGap Desktop to create projects.
We're currently working on a fix.
In the mean time you can also use the PhoneGap CLI as an alternative.

Change ionic bundle identifier not working in IOS

I hade to create a new Ionic app since the first one stopped working.
After that It got new numbers in the end of the name (i.e old name com.ionicframework.test420004, new name com.ionicframework.test122446).
I changed it everywhere (search and replace in VisualStudio 2015) I could find in the project.
IOS still looks for local (downloaded) files with the path of the wrong application name.
Does anybody know how to change it?
In this scenario you have to build it using cordova on a Apple computer. You can't build it and add the platform on a pc and the export the platform to an Apple computer.

phonegap FBConnect Plugins some steps troubles

I started developing the iphone app using phonegap >>
I have used phonegap before for android app>and also fbconnect for android but for ios I am not able to configure it>> I gone through many tutorials and Questions from stackoverflow>
I am following this tutorial
https://github.com/davejohnson/phonegap-plugin-facebook-connect/
and every things goes right but the steps 11 to 14 >> and last ios URL SCHEME
thats are the steps which are confusing me aND I AM UNABLE TO COMPLETE THat steps>>
and if I compile without thats steps>>
its giving the following error>>
error: Cordova/CDV.h: No such file or directory
#Geeniewanted :: this is the screen
For 11. If you click on the top-level 'phonegapFacebookApplication' in your project navigator (with the blue x-code project icon to it's left), that should show you all the project settings on the main center window. There you will find a tab that says "Build Phases", and within that, you'll find an option to add Link binaries with Libraries. #Geeniewanted has nicely written out a solution to that above.
I should warn you though that if you're using the lastest PhoneGap Build, or Cordova, you'll notice that there isn't a Cordova.plist anymore. That is because with PhoneGap 2.3.0 they've changed that to the 'config.xml'. And so you'll have to add your plug-ins to there.
I would recommend that you follow the video tutorial from Facebook-Dev to set up your Facebook iOS SDK within x-code: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/#project
you can use the following link to use the childbrowser plugin and facebook
http://www.drewdahlman.com/meusLabs/?p=88#comment-1544
it's possible to update this to the new inappbrowser

XCode & Facebook IOS SDK - Instructions incorrect

I am following this guide.
http://developers.facebook.com/docs/mobile/ios/build/
For setting up the Facebook IOS SDK for my XCode project..
I got to the part that says to run
% ~/facebook-ios-sdk/scripts/build_facebook_ios_sdk_static_lib.sh
in the terminal..
I tried that and it didn't work, so i went to find that script file manually and it isn't in the folder specified.. My questions is am i missing something? or does anyone know if the file was renamed?
Thanks.
You're right, this script is not included in the newest version on github.
However you can download the SDK and use it as described in the "Getting Started" section - Start a new Xcode Project. So far I had no issues with the SDK 3.0 and ARC in my project.
That script is there in my instance. Is it possible that the facebook-ios-sdk directory isn't in the top level of your home directory as in /Users/yourusername/facebook-ios-sdk? It needs to be there for you to follow the instructions verbatim.

Resources