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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

iOS Icon build issue on Beta 21

Discussion in 'Unity 5 Pre-order Beta' started by derkoi, Jan 29, 2015.

  1. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,237
    I'm building to iOS from Windows, uploading to Apples Testflight and all was working well in beta 20, however now when I try to upload to Testflight with a build from beta 21 I get errors relating to the icon images. I notice in Xcode I'm missing several of the icons even though they were set in Unity's player inspector. Even when I add them manually in Xcode I still get the errors and can't upload.

    Before I make a repro and submit a bug, is anyone else having this issue or am I missing something that's been changed?

    Thanks
     
  2. TeamZero

    TeamZero

    Joined:
    Sep 3, 2013
    Posts:
    30
    I'm having a similar problem. I am able to successfully build my project in Xcode (and it shows the icons in images.xcassets -> appIcon), but when the app appears on the device, the icon is missing. It worked fine in B20, but in B21 I am having this issue.
     
  3. franktinsley

    franktinsley

    Joined:
    Jul 1, 2010
    Posts:
    130
    Same issue here.
     
  4. Anx

    Anx

    Joined:
    Jan 2, 2014
    Posts:
    6
    Here too, also means I can't release a build to itunesconnect.
     
  5. smetzzz

    smetzzz

    Joined:
    Mar 24, 2014
    Posts:
    145
    same same
     
  6. protopop

    protopop

    Joined:
    May 19, 2009
    Posts:
    1,550
    me too. Build works but on iPhone i have this white icon with blue grid lines in b21
     
  7. jdi_knght

    jdi_knght

    Joined:
    Nov 6, 2013
    Posts:
    25
    For those of you who have an old build from the previous beta that worked (and has the icons you're still planning on using), the workaround I've been using over the last few days is as follows:

    1. In XCode, expand the Unity-iPhone bit in the project navigator.
    2. Select Images.xcassets from the drop down.
    3. In the file inspector (right side of the screen in my layout), it should list a location & full path. Select the little folder icon beside the location bit.
    4. Navigate to the Images.xcassets folder (within the Unity-iPhone folder) in one of your old XCode projects that worked from a previous beta. Make sure that the Images.xcassets folder itself is what's selected before you hit Choose.
    5. May not be necessary: Clean the build folder. Hold down the Option key, choose "Product" from the top menu, and "Clean Build Folder". Like I said, might not be necessary, but since it's one of the things I did the 1st time I got it working, I do it each time I'm uploading a new build now.
    6. Hit play so it builds/plays. Make sure the icon's now showing on your device.
    7. Archive/Submit/etc.

    Bit of a hassle, but it's what I've been doing. Hope that helps someone.
     
  8. franktinsley

    franktinsley

    Joined:
    Jul 1, 2010
    Posts:
    130
    Thanks for the idea man.
     
  9. SurvivalMachine

    SurvivalMachine

    Joined:
    Jun 21, 2013
    Posts:
    15
    I worked around this bug by selecting Images.xcassets in Xcode project and changed Location from "Relative to Group" into "Relative to Project".
     
  10. franktinsley

    franktinsley

    Joined:
    Jul 1, 2010
    Posts:
    130
    This works great! Thanks!