Other New approach for Icon-Store and Xcode 9+

Discussion in 'iOS Questions' started by Filippo, May 16, 2018.

  1. Filippo

    Filippo Expert Licensed User

    is only an information.

    This is the Google translation:
  2. Erel

    Erel Administrator Staff Member Licensed User

    This is already implemented in B4i. The icon is set inside the project.
  3. Filippo

    Filippo Expert Licensed User

    Erel, I know that.
    I have my post, unfortunately, as always, is not made clear enough.:(

    The problem is if you want to make two different app with the same code, for example, a Lite and a Pro version.
    In this case, two different icons must be provided.
    Until Xcode 8 you still had the opportunity to change the icon directly in Apple Console, from Xcode 9+ the icon must be integrated in the app.

    I had forgotten in my case that one should use this code:
    #If Lite
            #ApplicationLabel: App-Lite
            #CustomBuildAction: 1, c:\windows\system32\cmd.exe, /c copy ..\Special-Lite\*.* ..\Files\Special\*.*
    #End If

    #If Pro
            #ApplicationLabel: App-Pro
            #CustomBuildAction: 1, c:\windows\system32\cmd.exe, /c copy ..\Special-Pro\*.* ..\Files\Special\*.*
    #End If
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice