PDA

View Full Version : New Project no ARC button




osxabsd
Mar 1, 2012, 08:48 AM
I am using Xcode 4.2 on Snow Leopard. When I try creating a new project I do not get the "Use Automatic Reference Counting" box in the "Choose options for your new project". I can set ARC in the build settings though. Anyone know why?



kainjow
Mar 1, 2012, 12:34 PM
It might be only available on Xcode 4 for 10.7.

robvas
Mar 1, 2012, 12:50 PM
It might be only available on Xcode 4 for 10.7.

Yup, no ARC on Snow Leopard

xStep
Mar 1, 2012, 01:33 PM
Yup, no ARC on Snow Leopard

You mean there is no button as the OP was looking for. Xcode 4.2 on SL does support ARC. In fact this new app I created was set to ARC without me setting it up. It confused me at first, but I've chosen to do this project using ARC. My first.

osxabsd
Mar 1, 2012, 03:32 PM
I believe this is a "feature" of Xcode 4.2 for Snow Leopard. Although SNow leopard supports ARC, it does not support all of arc, e.g., "zeroing weak references". Also, my linking is failing because it is expecting a Lion file.

I am trying to get through the Hillegas 4th edition, but in order to do so it looks like I'll have to upgrade to Lion for full ARC support.