I’m building a Swift Playgrounds app (.swiftpm) in Xcode 26.2 and I consistently see this warning, even on brand-new Swift Playgrounds apps created from the default template:
“Skipping duplicate build file in Compile Sources build phase: /Users/.../<ProjectName>.swiftpm/Media.xcassets”
Everything builds and runs normally and all images/assets appear correctly, so it seems like it’s just an annoying warning.
I’ve checked for duplicates and don’t see the asset catalog listed twice, but the warning still appears whenever I add an asset catalog to any playground project in Xcode.
Is this warning safe to ignore for submission, and it won’t affect Swift Student Challenge eligibility?
Oh, hey, look at that!
I had assumed that, if you set the app icon via the General tab of the playground editor, it would do the right thing. However, as soon as I switch it from Placeholder to Custom it adds the asset catalogue and I get that warning. That’s… suboptimal.
Given that, I don’t think there’s much you can do about this. You have the choice of that warning or giving up on your pretty icon, and that’s no choice.
I had a bit of a rummage and I couldn’t find any existing bug report about this warning. Given that, I encourage you to file your own. Please post your bug number, just for the record. And you can then also include the bug number in the comments when you submit.
but it looks like each attempt actually posted afterward.
Yeah, that’s a known issue with the forums platform (r. 165521402)-:
I’m not seeing an option to delete them on my end
Yep. That’s another known issue. You can learn more about it here.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"