今天爱分享给大家带来更新到xcode12.0 ,编译报错Incompatible block pointer types sending ‘void (^__strong)(__strong id<TYAttribute,希望能够帮助到大家。
Xcode 12 编译 TYAttributedLabel 报以下错误
Incompatible block pointer types sending ‘void (^__ strong)(__strong id

解决方法
1.找到 Build Setting -> Other C Flags
1565

2.输入 -Xclang -fcompatibility-qualified-id-block-type-checking
3.-Xclang -fcompatibility-qualified-id-block-type-checking

此方法只适用于 Xcode 12 及以上版本使用,如果使用 Xcode 11 请删除 -Xclang -fcompatibility-qualified-id-block-type-checking 否则编译会失败
原文链接:https://blog.itblood.com/414.html,转载请注明出处。

![再次回来v0.6重置 AI版[PC+安卓/6.95G/更新]Back Again [Rework v0.6] [真人SLG/汉化/沙盒]](/wp-content/uploads/replace/2025/09/26/7ccb668fef63565149c4f8a7740d0813.webp)