Skip to content

Conversation

@SuperWes
Copy link

In our app we have an App Clip. Embedding an app clip requires multiple changes to project file entities that contain the phrase "ASSETCATALOG" as seen below. There was a line of code that set all ASSETCATALOG related project file entries to the app icon name that was causing our project file to be corrupted because it was changing all of the following fields to the icon name:

ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-dev";
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;

This change ensures that the only fields that get changed to the app icon name are app icon-related fields.

Copy link

@tmenyhart-vlabs tmenyhart-vlabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were also found this issue but simply by using custom schemes, so it's a simple nice fix 👍

Issue

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