XCode12 - Incompatible block pointer types sending

更新XCode12之后,有个第三方开报错Incompatible block pointer types sending.......这样的bug,大多就是Block传值时候类型不对,比如id传到带有参数类型为id之类的。解决方法:



-Xclang

-fcompatibility-qualified-id-block-type-checking

你可能感兴趣的:(XCode12 - Incompatible block pointer types sending)