Unity 发布iOS ,使用Xcode编译到设备中
Unity 发布iOS ,使用Xcode编译到设备中
1.在Xcode中File–Project Settings
Build System 改为下图内容
2. 选择Xcode – Preferences 登录账号
3.在Signing & Capabilities 选择Team
4.关于错误 : Command PhaseScriptExecution failed with a nonzero exit code
解决方法: 这个错误一般都是访问权限问题. 打开终端:
1) 如果目标是文件夹:
chmod -R 777 指定目录
2)如果当前用户非管理员:
sudo chmod -R 777 指定文件或目录
5.关于错误 : bad interpreter: Operation not permitted
解决办法:
1) 打开终端
2) cd 在工程根目录
执行
3) xattr -d -r com.apple.quarantine ./*