Skip to content

Commit 30ade67

Browse files
committed
Make old app icons backward compatible
1 parent 1fe5291 commit 30ade67

File tree

9 files changed

+8
-0
lines changed

9 files changed

+8
-0
lines changed

Project.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ extension SettingsDictionary {
729729
.setDevelopmentTeam("7353CQCGQC")
730730

731731
.includeAppIcon()
732+
.enableBackwardCompatibleAppIcons()
732733
.merging(["CODE_SIGNING_ALLOWED": .string("YES")])
733734
.manualCodeSigning(
734735
identity: "Apple Development",
@@ -786,6 +787,13 @@ extension Dictionary where Key == String, Value == SettingValue {
786787
func enableDsym() -> SettingsDictionary {
787788
return merging(["DEBUG_INFORMATION_FORMAT": "dwarf-with-dsym"])
788789
}
790+
791+
func enableBackwardCompatibleAppIcons() -> SettingsDictionary {
792+
return merging([
793+
"ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS": true,
794+
"ASSETCATALOG_OTHER_FLAGS": "--enable-icon-stack-fallback-generation=disabled"
795+
])
796+
}
789797
}
790798

791799
extension Array where Element == String {

0 commit comments

Comments
 (0)