关闭

Code Sign Error in macOS Sierra Xcode 8 : resource fork, Finder information

标签: xcodexcode8ios
170人阅读 评论(0) 收藏 举报
分类:

Solution 1:

@Fawkes You can try file specific bash command like Mark McCorkle answered.

In terminal, goto project’s root directory and execute one by one command

find . -type f -name ‘*.jpeg’ -exec xattr -c {} \;
find . -type f -name ‘*.png’ -exec xattr -c {} \;
find . -type f -name ‘*.tif’ -exec xattr -c {} \;
Clean Xcode and Re Build. Done.

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
Example: xattr -c guru.png

Once you clear all then you are able to code sign. Cheers

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:52552次
    • 积分:942
    • 等级:
    • 排名:千里之外
    • 原创:41篇
    • 转载:6篇
    • 译文:3篇
    • 评论:0条
    文章分类