admin管理员组文章数量:1638806
这种问题是资源属性异常,苹果官方的推荐解决方案是:
Solution 1:
Apple Developer Website Answers above problem Here.
从 Terminal 进入项目目录,运行以下命令:
xattr -cr .
然后在xcode里 clean 一下,就可以正常编译了。
下面是网友提供的其它解决方案,也同样好使:
Solution 2:
You can fix this problem by finding files which holds finder information.
In terminal, goto project root directory and execute
ls -alR@ . > kundapura.txt
This creates kundapura.txt in current directory. Now search for com.apple.FinderInfo and clear this attributes for all files. You can do it like this
xattr -c <filename>
Example: xattr -c guru.png
Once you clear all then code sign works. Clean Xcode and Re Build. Cheers
Solution 3: Inspired by Mark McCorkle's Answer
版权声明:本文标题:iOS项目编译错误:resource fork, Finder information, or similar detritus not allowed 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1729279563a1193896.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论