# IconComposer option in Projucer breaks document/file type icons on macOS

**URL:** https://forum.juce.com/t/iconcomposer-option-in-projucer-breaks-document-file-type-icons-on-macos/69177
**Category:** The Projucer
**Created:** [July 21, 2026, 2:41pm UTC](https://forum.juce.com/t/iconcomposer-option-in-projucer-breaks-document-file-type-icons-on-macos/69177 "2026-07-21T14:41:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![adamstark](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamstark/32/122_2.png) [@adamstark](https://forum.juce.com/u/adamstark)
#### Post date: [July 21, 2026, 2:41pm UTC](https://forum.juce.com/t/iconcomposer-option-in-projucer-breaks-document-file-type-icons-on-macos/69177/1 "2026-07-21T14:41:25Z")

</div>

Hi all,

It seems that using the new IconComposer icons via Projucer breaks support for Finder icons for any registered document file types… they fall back to the generic blank icon.

**Cause:** the generated `Info.plist` seems to hardcode `CFBundleTypeIconFile` to `Icon`, but the IconComposer path now names the actual resource after the app icon name (e.g. `MyAppIcon.icns`), so the reference points at a file that no longer exists.

Could the exporter be updated to use the correct filename when IconComposer is enabled (or just hard-code “Icon” always)?

### Possible source code causing issue

In `extras/Build/juce_build_tools/utils/juce_PlistOptions.cpp` there is the hard-coding of “Icon”:

```auto
addPlistDictionaryKey (*dict2, "CFBundleTypeIconFile", "Icon");

```

and I _think_ a counterpart problem line is in `extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h` where the app icon name is used:

```auto
iconFile = getTargetFolder().getChildFile (getAppIconNameOrElse ("AppIcon") + ".icns");
build_tools::writeMacIcon (icons, iconFile);

```

Thanks,

Adam

p.s. The Projucer also seems to have this problem on my machine as I don’t see icons for my .jucer files. You can see the Projucer icns file is…

`/Applications/Projucer.app/Contents/Resources/AppIcon.icns`

but the plist says…

```auto
<key>CFBundleTypeIconFile</key>
<string>Icon</string>

```

---

<div class="post-metadata">

### Author: ![attila](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/attila/32/11206_2.png) [@attila](https://forum.juce.com/u/attila)
#### Post date: [July 28, 2026, 10:21pm UTC](https://forum.juce.com/t/iconcomposer-option-in-projucer-breaks-document-file-type-icons-on-macos/69177/2 "2026-07-28T22:21:41Z")

</div>

Thank you for reporting this. A fix is now out

> <https://github.com/juce-framework/JUCE/commit/0367f21d159e1cbdf64a550b41dd09a4b50ee56a>

---

<div class="post-metadata">

### Author: ![adamstark](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamstark/32/122_2.png) [@adamstark](https://forum.juce.com/u/adamstark)
#### Post date: [July 29, 2026, 9:18am UTC](https://forum.juce.com/t/iconcomposer-option-in-projucer-breaks-document-file-type-icons-on-macos/69177/3 "2026-07-29T09:18:21Z")

</div>

Thank you. I’ll take a look 🙂
