New Project no ARC button

Discussion in 'Mac Programming' started by osxabsd, Mar 1, 2012.

  1. macrumors member

    Sep 28, 2009
    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?
  2. Moderator emeritus


    Jun 15, 2000
    It might be only available on Xcode 4 for 10.7.
  3. macrumors 68000

    Mar 29, 2009
    Yup, no ARC on Snow Leopard
  4. macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    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.
  5. thread starter macrumors member

    Sep 28, 2009
    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.

Share This Page