美文网首页
[iOS开发]报错:resource fork, Finder

[iOS开发]报错:resource fork, Finder

作者: 沈枫_ShenF | 来源:发表于2020-12-21 19:34 被阅读0次

今天编译工程突然报错:

resource fork, Finder information, or similar detritus not allowed.

苹果的解释:
This is a security hardening change that was introduced with iOS 10, macOS Sierra, watchOS 3, and tvOS 10.

Code signing no longer allows any file in an app bundle to have an extended attribute containing a resource fork or Finder info.

我的解决方案:

1.打开终端,cd ~/Library/Developer/Xcode/DerivedData/
2.再执行xattr -rc .

参考:
resource fork, Finder information, or similar detritus not allowed

相关文章

网友评论

      本文标题:[iOS开发]报错:resource fork, Finder

      本文链接:https://www.haomeiwen.com/subject/rtspictx.html