Facebook API - 63 Build Errors - objective-c

i'm new by working with the Facebook SDK.
First i want to build this tutorial: TuT
After i add the SDK and Build i get 63 Errors from the Facebook SDK.
Here are Some:
I'm using XCODE 4.2 and iOS 5.
Hope anybody can help me.

The Facebook SDK hasn't been adopted to support ARC yet. You can try disabling ARC for all files belonging to the Facebook SDK by adding the -fno-objc-arc compiler flag for those files (under Build Phases).
If that doesn't work you'll probably have to disable ARC for the entire project. To do that set Objective-C Automatic Reference Counting to NO (Under Build Settings / All). This is probably the easier way.

Related

Has anybody upgraded existing Universal Framework for iOS 8 and Xcode 6

There appear to be lots of people having issues since Apple's updates to support Universal Frameworks in their latest release. We have been using Universal Frameworks for quite some time. Of course, the update broke our Universal Frameworks and I have been trying to figure out how to get them to work again. I have looked at a few questions and found this one to be exceptionally helpful. There appears to be some confusion regarding whether scripts are still needed. I found some instructions here that say the new scripts are python scripts instead of shell scripts. But even with the information I have found out there, I am still confused.
Can anyone give me clear consise steps to convert an existing Universal Framework into one that compiles and builds in Xcode 6?
We are also facing similar issue when we upgraded to xcode6 and haven't found any solution so we decided to use apple ios custom cocoa touch framework .Below is the tutorial for building frameworks using xcode 6.
http://rescueprogramming.blogspot.com/2014/11/how-to-create-custom-cocoa-touch.html
We have written up a step by step guide on how to implement and integrate Xcode Frameworks that describes:
1) How to create an Xcode 6 Cocoa Touch Framework.
2) How to create a dependent Xcode 6 Cocoa Touch Framework.
3) How to Integrate your working Xcode 6 Frameworks and dependent Frameworks into an iOS application.
This step-by-step instruction guide can be found here:
https://kodmunki.wordpress.com/2014/11/07/universal-cocoa-touch-frameworks-for-ios-8/

-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance

Hi All i have implement the google maps sdk on my application and i am getting an error on this particular line
mapView_ = [GMSMapView mapWithFrame:CGRectZero camera:camera];
Can any one help me to find a solution
Please mention which version of iOS you are using and did you setted delegate method for MAPview.
Please check the below link, may be helps you, all the best
GoogleMaps basic iOS demo app crash - unrecognized selector sent to instance
This error occurs if you remove the -ObjC linker flag from your target. Once you put this flag back the application will not crash.
If you have removed this flag because you are using parse SDK as well and its not allowing you to compile your project with too many linking errors, the workaround is that you have to remove the Facebook related parse sdks from your project.
Thus the bottom line is if you want to use both Google Map and Parse SDK you have to remove the Parse's Facebook SDK and -ObjC linker flag must be set for Other Linker Flags.
Developing an application with the Google Maps SDK for iOS requires the following:
Xcode 4.5 or later.
iOS SDK 6.0 or later.

How to use Retain and Release in IOS Application?

I am working on an iOS application.When i am using flicker API's in my application i am getting semantic issues that i can't use the libraries bcoz os release and retain is used in the library.I am working on XCODE 5.1?
Please help me that how can i use such library in my Application?
Select the project in the sidebar > Build Phases > Compile Sources
Add the flag -fno-objc-arc to the files in question.

Problems with library compiled from source code for SDK versions Greater than ios5

I am doing iphone project, in that am using ODataProtocol, but i can't able to find the Odatagen library for iOS 6, in OData Upto iOS 4.3 libraries.. how can i use that Odata in my app for iOS 6.
I'm not 100% positive what the O.P. is looking for, but I'm guessing it's Microsoft's Open Data Protocol. I found an "ODataForObjC" project on github.
This SDK hasn't been updated in almost a year, but I just built the "crimeData" sample app that comes from that project in Xcode 5 with no hassles except tons of "deprecated" warnings and the actual service it's trying to connect to is throwing a "403" error.

Xcode library reverted to 5.1 from 6

I have been developing an app using Xcode, which included the Facebook SDK. The Facebook SDK requires the AdSupport.framework and the Social.framework, both of which were previously installed, but seem to have disappeared. My question is how do it update the library to 6.0, instead of five? I understand that you have to go into the build phases and add the frameworks in the Line Binary With Libraries section, but when I go to add the framework, the folder is 5.1, not six. I have looked through the Apple doc's and haven't found anything.
Here is an image of what I'm getting:
It should look like this:
There should be no way the SDKs provided with Xcode can regress. However you could see them vanish if you launch an older version of Xcode.
Based on experience, if you had Xcode installed before it was a single app bundle and have subsequently installed the app bundle version then there's a reasonable probability the old version is still present and therefore good odds that a Spotlight launch will open the wrong one.