Xcode 7.3 cannot create __weak reference in file using manual reference counting

REALFREE  picture REALFREE · Mar 22, 2016 · Viewed 34.1k times · Source

After updating to Xcode 7.3, it throws the error Cannot create __weak reference in file using manual reference counting in pod files. Has anyone solved this issue?

Answer

Ryan picture Ryan · Mar 23, 2016

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

Visual example

Taken from Apple Developers Forums - Xcode 7.3b4, non-arc, cannot create __weak reference.