Getting an error like "@synthesize of 'weak' property is only allowed in ARC or GC mode" when the project is already in ARC is pretty confusing. I had imported and converted a non-arc class which started this problem. After using Xcode's Edit -> Refactor -> Convert to Objective-C ARC on that class the errors started popping up for other classes that were originally in the project. In the end i had to convert the whole project for the errors to go away.
Thanks to Buzzwig on this page
http://stackoverflow.com/questions/12434127/refactoring-to-arc-results-in-synthesize-of-weak-property-is-only-allowed-in
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment