admin管理员组

文章数量:1638817

这种问题是资源属性异常,苹果官方的推荐解决方案是:

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

本文标签: 错误项目Forkresourceios