今天在在用U3D打包成iOS的xcode工程时,遇到很多问题,整理一下,这里我用的是xcode8.3 unity5.3
1. xcode打开工程后发现没有适合的模拟器可以运行
系统提示说:
A build only device cannot be used to run this target.
please select an available device or choose a simulated device as the destination.
这里是因为unity在打包时,你在Player设置中设置了打包成在实体设备上运行,所以不支持模拟器。
只要在打包时,设置为simulator就可以在模拟器上运行了
2. 代码错误,提示有个符号无法识别
....../Libraries/libil2cpp/include/codegen/il