简体   繁体   English

无法在Xcode iPhone模拟器中运行Unity3d应用

[英]Can't run Unity3d app in Xcode iPhone simulator

I was able to open the app in my actual iphone6. 我能够在实际的iphone6中打开该应用程序。 But the result page of the app didn't show any search result and it just has the title of result page and a scroll bar. 但是该应用程序的结果页面未显示任何搜索结果,仅显示了结果页面的标题和滚动条。 So I try to run the app in iPhone simulator in Xcode. 因此,我尝试在Xcode的iPhone模拟器中运行该应用程序。 But after I click the app logo in simulator, its just a black screen. 但是在模拟器中单击应用程序徽标后,它只是一个黑屏。 Nothing happen after that. 在那之后什么也没有发生。 What is happening? 怎么了? And I only got the things in below pictures under a tag called Thread 1. I am new to Unity3d and Xcode. 而且我只在下面的图片中的线程1下得到了这些东西。我是Unity3d和Xcode的新手。 Please help! 请帮忙! Thank you! 谢谢!

I have Unity3d 5.3.4f1, Xcode 7.1. 我有Unity3d 5.3.4f1,Xcode 7.1。

Since it worked on the physical devices but not on the simulator. 因为它可以在物理设备上运行,但不能在模拟器上运行。 Change the Target SDK to Simulator SDK then build the project again. 目标SDK更改为模拟器SDK,然后再次构建项目。 Look at the circled part of the image below. 查看下面图像的圆圈部分。 If still not working, the Unity and Xcode version. 如果仍然无法正常运行,请使用Unity和Xcode版本。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM