这种问题是资源属性异常,苹果官方的推荐解决方案是:
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
In terminal, goto project's root directory

当遇到iOS项目编译错误'resource fork, Finder information, or similar detritus not allowed'时,可以尝试通过Apple官方推荐的Terminal命令进行清理,或者通过查找并清除Finder信息来解决问题。其他解决方案包括删除特定属性后再清洁编译。"
137500615,22954780,微信小程序场馆预约系统设计与实现,"['微信小程序', '课程设计', 'Java开发', '数据库管理', '用户交互']

3221

被折叠的 条评论
为什么被折叠?



