Xcode 4 and GData compile problem - iphone

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

Related

How to convert Phonegap application into iphone Application?

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.

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

Upgrading Existing XCode iPhone Project to 3.2.3

I upgraded xcode to 3.2.3 and loaded an existing project I had created with a prior version of xcode. It seems to compile fine as I have set up the correct deployment target and base sdk. When I look under Groups & Files, the Framework group, the Framework files are red and are pointing to the old framework files which don't exist anymore.
My question is should I be removing these Framework files and readding them to the project to point to the new ios4 versions of the framework?
Steps For Upgrade Project in updated Xcode
1--> You Have To set Base Sdk From Project-->info-->build
2--> Confirm From Project under Target -->info-->build
And Compile your Project

XCode can't find base SDK

XCode 3.2.3 Beta does not allow building for below 3.2.
I opened a project that was made in an earlier XCode.
For some reason, the base SDK is reported as missing even after changing it to 4.0.
Other projects from earlier XCode do not have this issue.
What can I do?
If you can't choose the SDK at the top left of x-code you have to first
set the base SDK in the project settings.
Project -> Edit Project Settings.
Then choose the "General" tab.
At the bottom you can choose "Base SDK for all Configurations:"
Happy to hear it worked!
—
Editing the .pbxproj in your .xcodeproj might help. In the XCBuildConfiguration section there are values for SDKROOT.
This question has more details on the situation: Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs
I found I had to edit the Base SDK setting for each of the different build configurations, then the error went away. You need to fix "Release", "Debug" and any others.

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.