我正在使用 Swift 开发一个项目,当我尝试在我的实际设备上运行该项目时,出现错误:
/Users/alexyuiop/Desktop/Pitch²/build/Debug-iphoneos/PitchSquared.app: the main executable or Info.plist must be a regular file (no symlinks, etc.)
Command /usr/bin/codesign failed with exit code 1
我查看了一些其他帖子,命令/usr/bin/codesign failed with exit code 1 error,但这些解决方案似乎对我不起作用。
有谁知道如何解决这个错误?特殊字符 (²) 是否会导致此问题?
最佳答案
在此处选择开发人员配置文件进行调试..在此图像中未保存任何配置文件..因此您需要开发人员配置文件仅用于在设备中进行调试..可能对您有帮助...
关于ios - Swift 代码签名错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25028912/