日志如下:
2021-09-24 15:11:17.397618+0800 ****[761:246804] id get succes
2021-09-24 15:11:17.411132+0800 ****761:246804] Built from '2020.1/china_unity/release' branch, Version '2020.1.5f1c1 (19cc273cc655)', Build type 'Release', Scripting Backend 'il2cpp'
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
[Subsystems] Discovering subsystems at path /var/containers/Bundle/Application/5F918D42-CC70-4E27-B103-44699D9AFD45/****.app/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A8 GPU
Initialize engine version: 2020.1.5f1c1 (19cc273cc655)
2021-09-24 15:11:18.356167+0800 ****[761:246804] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2800b3f60, domain=1, instance=1>
UnloadTime: 1.165167 ms
UnityFramework was compiled with optimization - stepping may behave oddly; variables may not be available.
解决方案:
编译方式修改为Debug模式即可解决