Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

IDMah

macrumors 6502
Original poster
May 13, 2011
317
11
Anyone got AFNetworking compiling clean on Xcode 3.2.5

if so, how did you do it ?? I'm a noob when it comes to xcode compiler flags.
I know that I need to add:

Code:
-fno-objc-arc

but not sure where. something about build phase..
screenshot would be greatly appreciated.. cuz I'm left handed and visual.

thanks
Ian
 
That project seems to be using newer Objective-C things that Xcode 3 can't handle. Perhaps you can work around them all but it sure is a hassle. For instance, replacing the strong keyword in the property declaration with retain, others with assign, etc. There is more.

The flag you mention is only needed for projects using ARC. I don't believe Xcode 3 supports ARC, so your project wouldn't need the flag.
 
Last edited:
SkyDrive SDK comes with sample code on ARC and low level code is just old fashion plain obj-c code with retain and release. I made it all work on Xcode 3.2.6 but you really need to know what is the purpose of something and why is it there.

Read a tutorial about ARC before you start changing anything.
 
copy that...

Yes I knew it was an ARC thing .. but hoping I could work around it.
but .. looks like I'm, upgrading to Lion.. shuzbutt !
....sigh...

thanks all
Later
Ian
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.