Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译时候提示RAC里的文件报错 #15

Open
Bone111 opened this issue Jun 28, 2018 · 3 comments
Open

编译时候提示RAC里的文件报错 #15

Bone111 opened this issue Jun 28, 2018 · 3 comments

Comments

@Bone111
Copy link

Bone111 commented Jun 28, 2018

Cannot create __weak reference in file using manual reference counting

@ZebZheng
Copy link

ZebZheng commented Jul 4, 2018

@jasenhuang 如果使用了ReactiveObjC 设置为 -fno-objc-arc 报错:Cannot create __weak reference in file using manual reference counting 请问有什么办法解决吗?

@jasenhuang
Copy link
Owner

@ZebZheng @Bone111 xcode setting 里 enable一下就可以,实际上不会有影响,因为NSObjectSafe没有用到RAC

@kklwg
Copy link

kklwg commented Jun 1, 2020

解决的办法:在Build Settings--------->Apple Clang - Language - Objectibe-C------------->Weak Reference In Manual Retain Release 设置为YES。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants