1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

New Project no ARC button

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

  1. macrumors member

    #1
    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

    kainjow

    #2
    It might be only available on Xcode 4 for 10.7.
     
  3. macrumors 68000

    #3
    Yup, no ARC on Snow Leopard
     
  4. macrumors 68000

    #4
    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. macrumors member

    #5
    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