Is ARC really supported in iOS 4? The iOS 4.2 SDK is missing ARC-related symbols at linking time?

ARCis supported on iOS 4.3 and above. You need to use the iOS 5. X SDK but can select iOS 4.3 for the Deployment Target.

The one thing that is not supported in 4.3 is automatic weak reference zeroing Oh, Xcode 4.2 is now out of NDA and can be used to submit apps.

ARCis supported on iOS 4.3 and above. You need to use the iOS 5. X SDK but can select iOS 4.3 for the Deployment Target.

The one thing that is not supported in 4.3 is automatic weak reference zeroing. Oh, Xcode 4.2 is now out of NDA and can be used to submit apps.

Thanks (facepalm). It actually seems to be working with 4.2 as a deployment target as well, however... going to test on a real device now. – Doug McBride Oct 12 at 23:47 It seems to run fine on my device as well, running iOS 4.2.1.

– Doug McBride Oct 13 at 0:24 I suppose that there is no problem, Apple generally refers to a recent version even if a prior version is also supported. But, it may not be approvable for the app store. – CocoaFu Oct 13 at 0:28 I'll update this if I get rejected :) Thanks again.

– Doug McBride Oct 13 at 0:41 Sorry, looks like @CocoaFu was correct. After I restarted Xcode, it seems to only work in 4.3. Xcode 4 seems easily confused :( – Doug McBride Oct 13 at 1:17.

A little bit late, but this is important information. The accepted answer is correct, Apple states iOS 4.0 and above as the minimum OS for ARC support. However, it can break in a few situations.

One of them is of course the __weak keyword and it's derivatives. You will see an error like the following. A second and very dangerous condition is when you use the +load method of NSObject.

If you do this using ARC on iOS 4. X you will have runtime crashes that are very hard to find. If you get runtime errors like the following, check your +load methods.

For me it worked to set the -fno-objc-arc flag for that particular file.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions