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 ./*

猜你喜欢

转载自blog.csdn.net/qq_46641769/article/details/127883177