I’ve converted my project to iOS 5 and enabled ARC. Now I need to integrate core plot with the project. When I try to instantiate a sample controller included with the Core Plot, I get about 20 errors as follows:
The current deployment target does not support automated __weak references
I’ve explicitly said fno-objc-arc next to the controller’s name in the build settings.
What else do I need to run core plot with ARC enabled?
Thank you!
__weakreferences only work on iOS 5 and above. If you have the deployment target set to anything earlier, then you’ll get the error. Basically, if you want to deploy to earlier devices you can’t use automated__weakreferences. The substitute would be__unsafe_unretained