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

后端 未结 7 1975
清酒与你
清酒与你 2020-12-12 12:50

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 iss

7条回答
  •  伪装坚强ぢ
    2020-12-12 13:17

    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.

提交回复
热议问题