(Xcode 7.3) Cannot create __weak reference in file using manual reference counting

After upgrading to Xcode 7.3 we now receive the following message when building

Cannot create __weak reference in file using manual reference counting

Thankfully we can get around this via the projects build settings.

Set: Build Settings > Apple LLVM 7.1 – Language – Objective C > Weak References in Manual Retain Release to YES.

Leave a Reply

Your email address will not be published. Required fields are marked *