Skip to content

Conversation

dkimitsa
Copy link
Contributor

the issue

  • originally was reported in Support for Alternate Icons on iOS builds #636 (support for alt icons)
  • also if xcassets contain multiple icons -- random one was picked for the app
  • also if xcassets contain multiple launch images -- random one was picked for the app

the fix

robovm.xml was extended with actool options:

<config>
    <tools>
        <actool>
            <appIcon>AppIcon</appIcon>
            <includeAllAppIcons>true</includeAllAppIcons>
        </actool>
    </tools>
</config>

new parameters:

  • appicon - specifies which icon to use for app (in case of multiple)
  • launchImage -- specifies which launchImage to use (in case of multiple)
  • includeAllAppIcons -- will add --include-all-app-icons command line argument to include all app icons
  • args -- allows to add raw arguments for actool

# the issue
- originally was reported in MobiVM#636 (support for alt icons)
- also if xcassets contain multiple icons -- random one was picked for the app
- also if xcassets contain multiple launch images -- random one was picked for the app
# the fix
`robovm.xml` was extended with `actool` options:
```
<config>
    <tools>
        <actool>
            <appIcon>AppIcon</appIcon>
            <includeAllAppIcons>true</includeAllAppIcons>
        </actool>
    </tools>
</config>
```

new parameters:
- `appicon` - specifies which icon to use for app (in case of multiple)
- `launchImage` -- specifies which launchImage to use (in case of multiple)
- `includeAllAppIcons` -- will add `--include-all-app-icons` command line argument to include all app icons
- `args` -- allows to add raw arguments for actool
@Tom-Ski Tom-Ski merged commit de7f907 into MobiVM:master Apr 12, 2023
@dkimitsa dkimitsa deleted the fix/636-alternate-icons-ios branch July 17, 2023 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants