Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: You are not allowed to remove the Unity splash screen from your game

Tags:

xcode

ios

unity3d

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:

You are using Unity iPhone Basic. You are not allowed to remove the Unity splash screen from your game.

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: I'm using Unity 4.6.3 and Xcode 6.1.1 Those should be the latest versions available.

like image 369
Boris Avatar asked Feb 22 '15 13:02

Boris


2 Answers

i found a solusion bellow:

http://forum.unity3d.com/threads/you-are-not-allowed-to-remove-the-unity-splash-screen-from-your-game.299906/

For anyone else experiencing this issue:

  1. Make a build.
  2. In xCode - select Unity-iPhone target from your Targets list and select the Info tab.
  3. Delete the key UILaunchStoryboardName~iphone from the Custom iOS Target Properties.
  4. Try again, it should work fine.
like image 176
mowentian Avatar answered Oct 22 '22 09:10

mowentian


On Unity 4.6.3f1 I have the same issue. It works fine if I delete the key UILaunchStoryboardName~iphone to run the game as suggested.

Choosing to append or replace does not make any difference for me.

like image 39
IOZO Avatar answered Oct 22 '22 10:10

IOZO