How to convert Phonegap application into iphone Application? - iphone

I'm in problem that I need to implement my phonegap demo project into full version project. But the project will be in iphone and ipad only. I'm using xcode for doing the project but I can not control on dataflow of demo project from xcode.

Have you created the folder reference to the www folder in Xcode as described in the PhoneGap Getting Started with PhoneGap iOS using Xcode 4?
Most people i know using PhoneGap use Xcode only for compiling the project and edit the contents of the www folder with the editor of their choice, maybe this is an option for you.

Related

Where to put native code for Phonegap 3.0 plugin?

I just upgraded one of my projects to PhoneGap 3.0 and was wondering the proper methodology for developing a custom plugin. I'm following the Echo plugin example from the developer docs. Should the Echo.h and Echo.m files go in the Plugins folder in the project root, or within the Plugins folder for the specific platform being built?
I tried Echo Plugin for iOS and it's working for me. I put Echo.h and Echo.m under platforms/ios/TestProject/Plugins/. Root folder plugins keep plugins your download from command line. It will be auto installed when you make iOS, Android or other platforms.

Running the XCode 3.1 application in XCode 4.1?

I am new developer on iPhone. My problem is that I have installed the XCode 4.1 after changed the settings in the edit project settings it shows XCode 3.1 is missing so if any one know about it give me solution to solve the problem.
you should set the base SDK version in project settings and Target settings as well.
you should check if you have specified the base SDK at both places.
Best of luck.
click on your project under project navigator. then go to build settings
change the base SDK to your 4.x. do it in both project and target.
See "To Edit a Build Setting…":
http://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Building/Building.html#//apple_ref/doc/uid/TP40010215-CH9-SW5

Xcode 4 and GData compile problem

After upgrading to the GM version of Xcode 4 I can't compile my projects that make use of GData (e.g., YouTube API provided by Google). In particular, it complains about GDataFeedYouTubeVideo because it does not recognize it. This is the exact same project that compiled just fine in Xcode 3.x.
In Xcode 3.x, you use to be able to drag a folder from one project to another project. Looks like this feature is removed from Xcode 4. Does anybody know how to do this in Xcode 4?
If GDataFeedYouTubeVideo is a file that should not be compiled then you can manually remove it from the 'Compile Sources' list in your Target settings.
I solved this issue with my gdata api. follow link for what I did
linking gdata to an xcode 4 project

How to build a sample Ogre / Xcode template for iphone?

Hi
I have installed Ogre 1.7 , Copied iphone dependencies and the project is running in simulator with around 25 sample projects. I need to build a template with only one sample example. Can you please guide me to do so...
Instructions for running Ogre on iPhone: http://ogre3d.org/tikiwiki/Ogre+iPhone&structure=Development
To run basic Ogre project rather than all samples
Install Ogre SDK for iPhone
Add Ogre iOS dependencies to SDK folder: http://sourceforge.net/projects/ogre/files/ogre-dependencies-mac/1.7/
Download and install XCode templates
Create new project using Ogre template (ensure that _OGRESDK_ROOT_ points to Ogre SDK)
Works for me.

iPhone 4.0 Beta compile for 3.1.3

I downloaded the iPhone 4.0 Beta. But for my projects I need to compile for 3.1.3 to be able to still submit my projects to the App Store. If I run an old project that isn't a problem I can see all the versions, but when I start a new project I can only pick the 4.0 beta, how can I fix this?
Open your project. In XCode open the project settings (Project -> Edit Project Settings). Choose the build tab, and pick an appropriate Base SDK from the options under the architecture group.
You should not submit apps with beta versions of the SDK. Rather install beta SDKs alongside one for production builds.