错误:您不允许从游戏中删除Unity初始屏幕 [英] Error: You are not allowed to remove the Unity splash screen from your game
问题描述
我正在尝试在Xcode中运行Unity游戏. 在Unity iOS播放器设置中配置设备SDK"后,一切正常.但是,当我切换到"Simulator SDK"(以使用iOS模拟器)时,在我的游戏启动时Xcode中会发生以下错误:
I'm trying to run my Unity game in Xcode. When 'Device SDK' is configured in the Unity iOS player setting, everything is fine. But when I switch to 'Simulator SDK' (to use the iOS simulator), the following error occurs in Xcode on startup of my game:
您正在使用Unity iPhone Basic.您无权从游戏中删除Unity初始屏幕.
由于此错误,游戏在启动时崩溃.我没有在Unity播放器设置中更改任何有关启动屏幕的内容.那么,这个问题可能是什么原因呢? 我在Google上发现了有关此错误的一些结果,但似乎无济于事...
Due to this error the game crashes on startup. I didn't change anything regarding the splash screen in my Unity player settings. So what could be the cause of this problem? I found some results on Google regarding this error, but none seems to help...
PS:我正在使用Unity 4.6.3和Xcode 6.1.1 这些应该是可用的最新版本.
PS: I'm using Unity 4.6.3 and Xcode 6.1.1 Those should be the latest versions available.
推荐答案
我发现了一个解决方案:
i found a solusion bellow:
对于遇到此问题的其他人:
For anyone else experiencing this issue:
- 进行构建.
- 在xCode中-从目标"列表中选择Unity-iPhone目标,然后选择信息"选项卡.
- 从自定义iOS目标属性"中删除键 UILaunchStoryboardName〜iphone .
- 再试一次,应该可以正常工作.
- Make a build.
- In xCode - select Unity-iPhone target from your Targets list and select the Info tab.
- Delete the key UILaunchStoryboardName~iphone from the Custom iOS Target Properties.
- Try again, it should work fine.
这篇关于错误:您不允许从游戏中删除Unity初始屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!