iOS RAC报错Cannot create __weak reference in file using manual reference counting

When adding RAC to an old project, a weak reference cannot be created in the manual count file, and the following error occursCannot create __weak reference in file using manual reference counting

Cannot create __weak reference in file using manual reference counting


Solution:

Build Settings ->

Apple Clang - Language - Objective C->

Weak Referances in Manual Retain Release->

Change NO toYES solution path

Guess you like

Origin juejin.im/post/6971333630115184647