SwiftGen / SwiftGen

The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The "Folder/giftColor" image asset name resolves to the symbol "gift" which already exists. Try renaming the asset.

michaeldwilliams opened this issue · comments

SwiftGen v6.6.2 (Stencil v0.15.1, StencilSwiftKit v2.10.1, SwiftGenKit v6.6.2)
Xcode 15.0

When updating to Xcode 15, SwiftGen creates a warning in my GeneratedAssetSymbols.swift file saying two image files are resolving to the same name even though they aren't named this same. This doesn't happen in Xcode 14.3.1. There are two images in the same folder that are named similarly but they are not the same. One is Folder/giftColor and the other is Folder/gift.

Could you provide some data to replicate this issue?
For example:

  1. a small project with your issue
  2. a test in the SwiftGen project showing your problem

Thanks!