Mac Where did my ARC checkbox go???

chrono1081

macrumors 604
Original poster
Jan 26, 2008
7,689
1,882
Isla Nublar
Hi guys,

I'm re-learning Objective-C and the book I'm using uses ARC, however the checkbox for ARC no longer appears when I create a new project in XCode 4.2 (you know how there is a checkbox that says "Use ARC", its not there anymore 0_0).

Has anyone had this happen before or know how to fix it? Its screwing up some exercises I'm working on because my objects aren't being released.

EDIT: Yes I'm aware I can do it manually but thats for when I go through Steve Kochan's book again.
 

KnightWRX

macrumors Pentium
Jan 28, 2009
15,046
4
Quebec, Canada
You did search on Google right ?

http://developer.apple.com/library/...ef/doc/uid/TP40011226-CH1-DontLinkElementID_7

Can I develop applications for Mac OS X with ARC using Snow Leopard?

No. The Snow Leopard version of Xcode 4.2 doesn’t support ARC at all on Mac OS X, because it doesn’t include the 10.7 SDK. Xcode 4.2 for Snow Leopard does support ARC for iOS though, and Xcode 4.2 for Lion supports both Mac OS X and iOS. This means you need a Lion system to build an ARC application that runs on Snow Leopard.
Could this be your problem mayhaps ?
 

chrono1081

macrumors 604
Original poster
Jan 26, 2008
7,689
1,882
Isla Nublar
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.