进入项目的根目录,运行: xattr -cr . 清理xcode并重新编译 参考:https://stackoverflow.com/questions/39652867/code-sign-error-in-macos-high-sierra-xcode-resource-fork-finder-information