Command /usr/bin/codesign failed with exit code 1
解决方法:
在工程的Build Settings中找到Build Variants 将Debug和Release都改成normal就可以了。