Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 4.6.1 abortOnInvalidSplashscreen()

Discussion in 'iOS and tvOS' started by MGleem, Dec 11, 2014.

  1. MGleem

    MGleem

    Joined:
    Jun 21, 2013
    Posts:
    9
    Hi, i can't run any project using iOS Xcode 5.1.1 + Unity 4.6.1 ( iOS Free version), when a test a successful build on my iOS device freeze showing Unity LaunchImage :( and i receive this message :

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

    - im not touching, removing or replacing the LaunchImage - this not happen to me with the previous version 4.6.0

    Anyone can help me?
     
    Last edited: Dec 11, 2014
  2. baptiste

    baptiste

    Joined:
    Sep 17, 2012
    Posts:
    11
    i have the same problem with unity 4.6.1 and xcode 5.0.2
    Anyone have a solution?
     
  3. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Could you, please, try Xcode 6?
    Also these things often help:
    - removing app from device manually
    - replacing xcode project instead of appending it
     
  4. MGleem

    MGleem

    Joined:
    Jun 21, 2013
    Posts:
    9
    Ok!

    In Xcode 5 already tried that, I removed the app using the xcode organizer, from the device manually and nothing, using replace instead append and nothing, plus I created a new blank project to make sure without favorable results.

    just left trying with Xcode 6.
     
  5. MGleem

    MGleem

    Joined:
    Jun 21, 2013
    Posts:
    9
    Fixed! with Xcode 6.1.1

    Xcode 5 does not have an SplashScreen for iphone 6 and unity 4.6.1 includes it, that should be generating the error.
     
  6. Vitor_Oliveira

    Vitor_Oliveira

    Joined:
    Oct 24, 2014
    Posts:
    1
    It would be really nice to have a fix for Xcode 5 as well.
    I'm currently having the same issue on Unity 4.6.1p1.
     
  7. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    We are working on the fix.
     
  8. AlexMtl

    AlexMtl

    Joined:
    Jul 2, 2013
    Posts:
    21
    Hi everyone. I am having the same issue even with Xcode 6.1.1 and unity 4.6.1 for an ipad build

    I had the issue with Xcode 5, read this thread so I upgraded to Xcode 6.1.1 and I'm still getting the same error.
    My workflow is as is :
    -build in unity
    -completely delete the xcode project on my macbook and replace it with the one I built
    -open project in xcode
    -edit all app icons (I don't touch the splash screen) manually. I don't have a choice to do it manually because Unity doesn't do a very good job at generating "pretty" ios icons.
    -archive and export as an ad-hoc build -> I do this because it's the only way to properly test if the splash screen bug occurs
    -open ipa file in itunes and sync with ipad
    -run on ipad
    -crash! :( -> abortOnInvalidSplashscreen in crash log

    Any ideas?
     
    Last edited: Dec 21, 2014
  9. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Did you remove previous installation of the app from iPad before uploading update?
     
  10. AlexMtl

    AlexMtl

    Joined:
    Jul 2, 2013
    Posts:
    21
    yes, every time I totally removed the app from the ipad. For what it's worth I was finally able to have it work yesterday!
    Here is what I tried differently : Instead of editing the icons, bundle display name and target platform on xcode, I set them directly in my unity project. I also changed to "Fast but no exceptions" for the first time.
     
  11. Skflowne

    Skflowne

    Joined:
    Apr 6, 2014
    Posts:
    14
    Hi, is there any news on this ? I'm also getting this error with 4.6.3f1 and Xcode 6.1.1.

    This is what Xcode says :
    `abortOnInvalidSplashscreen() at VerifyiPhoneSplashScreen.cpp:90:
     
    pedrevans likes this.
  12. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    The splash screen verification issue will be fixed in 4.6.3p1
     
    galaticd likes this.
  13. Skflowne

    Skflowne

    Joined:
    Apr 6, 2014
    Posts:
    14
    I found a fix here :
    http://qiita.com/yonesuke/items/f5be7b1656011c525f4f

    Also the problem is only happening for iPhone builds.

    The fix says to remove :
    • LaunchScreenImage-Landscape.png
    • LaunchScreenImage-Portrait.png
    • LaunchScreen.xib
    Then select "Unity-IPhone", go to the "Info" tab and under "Custom iOS Target Properties", completely remove (with the '-' sign) the property named "UILaunchStoryboardName~iphone"

    This worked for me with Xcode 6.1.1 and Unity 4.6.3f1
     
    paulrahme, gmxtian and AleKahpwn like this.
  14. fingersbleeding

    fingersbleeding

    Joined:
    Jun 10, 2013
    Posts:
    24
    The above worked for me. Thanks Skflowne. Worth pointing out, UILaunchStoryboardName~iphone is split out from the UILaunchImages array and seems to be a new feature as of iOS8.
     
  15. monzitor

    monzitor

    Joined:
    Oct 20, 2014
    Posts:
    2
    Have the same bug on Xcode 6.1.1 and Unity 4.6.3f1
     
  16. screenname_taken

    screenname_taken

    Joined:
    Apr 8, 2013
    Posts:
    663
    Same as @monzitor. Already reported a bug.
     
  17. Gillissie

    Gillissie

    Joined:
    May 16, 2011
    Posts:
    294
    I JUST updated to 4.6.3 and am now having this issue, which I didn't have just before the update.
     
  18. AleKahpwn

    AleKahpwn

    Joined:
    Jun 11, 2013
    Posts:
    2
    Skyflowne's found fix worked for me as well.
     
  19. toddw

    toddw

    Joined:
    May 9, 2010
    Posts:
    125
    Just upgraded to Unity 4.6.3 and XCode 6.2 in hopes to fix a bug where my 3d text is no longer rendering for iOS 8.2 and now I'm getting this bug too. Any timeframe on this fix? Deleting the app doesn't fix the issue on my test device, even if it did that's not an acceptable solution for my existing users...
     
    gmxtian likes this.
  20. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Note that 4.6.3 is not the same as 4.6.3p1 which has the fix. You should upgrade once more.
     
  21. pedrevans

    pedrevans

    Joined:
    May 8, 2013
    Posts:
    10
    Thank you Skflowne, that fixed it for me. 4.6.3f1
     
  22. paulrahme

    paulrahme

    Joined:
    Apr 25, 2012
    Posts:
    17
    Thank you! Just upgraded to 4.6.3p1/f1 and had the same problem, and @Skflowne your fix worked.

    Further note to anyone else who uses this method - remember to actually remove the references under Unity-iPhone in Xcode (under the folder tab in the left sidebar); I originally just deleted the files and it complained about not being able to find them.
     
  23. jshrek

    jshrek

    Joined:
    Mar 30, 2013
    Posts:
    220
    Patch 4 is available now... Unity 4.6.3p4

    And I no longer have this issue with 4.6.3p3 or 4.6.3p4 and did not have to delete/remove anything.

    As a side note, the error re-appeared when (in Xcode) I set Build Settings > Packaging > Compress PNG Files to NO. Leave this at the default setting of YES and the error goes away.
     
  24. algazel

    algazel

    Joined:
    May 14, 2014
    Posts:
    3
    @Skflowne 's solution also worked for me, thanks a lot :) I'm using Unity 4.6.3f1 and XCode 6.1.1

    Btw if you can't find "Info" tab, you can also access custom ios target propertis from "Info.plist" file in project navigator.