strikerdude10
strikerdude10

Reputation: 283

ARC static library compatibility

I have a static library that I developed using ARC and then compiled into a binary and I was wondering what the limitations would be on someone else using this library. Specifically what is the minimum iOS that it will be able to run on?

Upvotes: 0

Views: 43

Answers (1)

Tommy
Tommy

Reputation: 100622

ARC is a compiler technology.

If you used weak references at any point then you'll be relying on parts of the runtime that were added only in iOS 5.0. So the prima facie answer is "5.0".

However if your user is willing also to link to something like MAZeroingWeakRef, which adds those parts of the runtime that are required to support weak but only if they're not already present, then compatibility could go back to iOS 2.0.

Upvotes: 1

Related Questions