Can ARC be used in iOS 4.3?

Discussion in 'iOS Programming' started by mikezang, Jan 15, 2013.

  1. mikezang macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    My app is used by some iOS 4 users, I am going to use some open source to improve my app, but some of them are in ARC, I can't test it because Xcode 4.3 without iOS 4.3 simulator , does anyone tell me if I can use those open source? What should I do?
     
  2. KoolStar, Jan 16, 2013
    Last edited: Jan 16, 2013

    KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #2
    ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.

    Source: Apple Docs

    From this you can gather arc can work and target iOS 4.3 as long as it does not use any weak references. Therefore you should be able to use XCode 4.3/ Or the latest 4.5 to compile and target iOS 4.3.
     
  3. mikezang thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #3
    Thanks a lot! my mistake and didn't check document.
     
  4. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #4
    Not a problem, your quit welcome. If you need anything else don't hesitate to ask! :)
     

Share This Page