-fobjc-weak is not supported on the current deploy

2019-07-15 16:22发布

问题:

I just updated my Pods and one of them BoringSSL is now eroring my build with following error:

Apple LLVM 9.0 Error
-fobjc-weak is not supported on the current deployment target

Not sure about what I need to do here? Is this an issue with BoringSSL package or my project?

EDIT I believe this is used by grpc ?

回答1:

This is CocoaPods/Xcodeproj#544 for which a fix was released recently.

Update the Xcodeproj gem from 1.5.5 to 1.5.6.