Other New approach for Icon-Store and Xcode 9+

Discussion in 'iOS Questions' started by Filippo, May 16, 2018 at 6:26 AM.

  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