# Setting assets catalog from config file

**URL:** <https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055>\
**Category:** The Projucer\
**Created:** [December 19, 2013, 12:13pm UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055 "2013-12-19T12:13:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Parbo\_Andersen](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@John\_Parbo\_Andersen](https://forum.juce.com/u/John_Parbo_Andersen)\
**Post date:** [December 19, 2013, 12:13pm UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/1 "2013-12-19T12:13:07Z")

</div>

Hi

I am working on several cross platform projects. I use the Introjucer and I have buildservers to build my code when I commit it.

The code has to be build for macOS, Windows and iOS. For the iOS build I have all the app icons and launch images in an assets catalog that I would like to use.

My problem is, that whenever I run the Introjucer the xcode project is set to not use the assets catalog (as expected). It would be very nice if I could somehow&nbsp;change&nbsp;this from a config file I have allready. I use this config file to set the provisioning profiles and&nbsp;signing identities and this works just fine.

I have added these lines to the config file:

ASSETCATALOG\_COMPILER\_APPICON\_NAME = AppIcon  
ASSETCATALOG\_COMPILER\_LAUNCHIMAGE\_NAME = LaunchImage

ICON\_FILE\_PATH = ProductName/Images

But it does not work.

Any help is highly appreciated.

Have a nice christmas

John Parbo Andersen

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 19, 2013, 3:02pm UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/2 "2013-12-19T15:02:52Z")

</div>

I actually have no idea what the asset catalog is.. Sounds like something that the introjucer should automate, but it'd take me some research to figure out what it's all about. If you're in a hurry, then suggesting some mods&nbsp;to the intojucer yourself that make it work would be helpful!

---

<div class="post-metadata">

**Author:** ![John\_Parbo\_Andersen](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@John\_Parbo\_Andersen](https://forum.juce.com/u/John_Parbo_Andersen)\
**Post date:** [December 20, 2013, 8:41am UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/3 "2013-12-20T08:41:50Z")

</div>

Hi Jules

&nbsp;

Thank you for your response. The assets catalog is the "new" way of handling stuff like the icons and launch images for iOS builds (not sure if its also how its done for macOS). &nbsp;The assets catalog is just a folder with your images in, that can be shared between projects. If you add and assets catalog form within xcode build settings for your target, you can see what lines are added to the project file. Some of these are for adding the files to your projects source tree and then you will also see the same lines added, as those I have tried to get to work from the config file.&nbsp;

My guess is that these are the lines that needs to be added by the introjucer. If the user (of the Introjucer) dont have an assets catalog the Introjucer could create an empty one (or one with the Introjucer logo in all the required sizes, &nbsp;and then the user can replace these if needed)&nbsp;or otherwise it could be possible to state what existing catalog to use?

Then we could also have a nice icon for the Juce demo on iOS!

Hope this helps

Best regards

John

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 20, 2013, 10:32am UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/4 "2013-12-20T10:32:47Z")

</div>

Ok, thanks. Not sure when I'll have chance to have a look into it, but will put it on the to-do list..

---

<div class="post-metadata">

**Author:** ![John\_Parbo\_Andersen](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@John\_Parbo\_Andersen](https://forum.juce.com/u/John_Parbo_Andersen)\
**Post date:** [December 20, 2013, 7:29pm UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/5 "2013-12-20T19:29:15Z")

</div>

Great, let me know if you run into problems, then I will try to help.&nbsp;

Have a very nice christmas

John

---

<div class="post-metadata">

**Author:** ![ndika](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@ndika](https://forum.juce.com/u/ndika)\
**Post date:** [March 14, 2014, 3:22pm UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/6 "2014-03-14T15:22:37Z")

</div>

plus one on this ... I'm having the same issue with my assets catalog getting lost every time I save&nbsp;my project from Introjucer. This would be a super useful improvement. now that I'm getting close to actually submitting an app, this is becoming a bit maddening. As John suggests, perhaps the easy fix is to just have Introjucer allow the user to point to an assets catalog to use rather than doing something more fancy (although I like the idea of Introjucer creating a default Assets Catalog too, but that might be overkill since xCode makes generating an assets catalog pretty darn simple).&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![XmasRights](https://avatars.discourse-cdn.com/v4/letter/x/87869e/32.png) [@XmasRights](https://forum.juce.com/u/XmasRights)\
**Post date:** [May 2, 2014, 11:46am UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/7 "2014-05-02T11:46:28Z")

</div>

This would a massively useful feature for all future iOS development. Not sure if there is a good way to handle the different sizes of launch images and app icons using introjucer.

---

<div class="post-metadata">

**Author:** ![joe-04-04](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/joe-04-04/32/2566_2.png) [@joe-04-04](https://forum.juce.com/u/joe-04-04)\
**Post date:** [April 12, 2017, 12:09am UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/8 "2017-04-12T00:09:43Z")

</div>

This happens to me as well. Maybe something has been introduced that I haven’t found?

---

<div class="post-metadata">

**Author:** ![mnsp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mnsp/32/2665_2.png) [@mnsp](https://forum.juce.com/u/mnsp)\
**Post date:** [September 18, 2017, 9:14pm UTC](https://forum.juce.com/t/setting-assets-catalog-from-config-file/12055/9 "2017-09-18T21:14:47Z")

</div>

Is it correct that this issue is still not resolved? If I may make a suggestion: it would be really great if there was a way to give the projucer a high resolution version (e.g. 1024x1024 like the iTunes Artwork) of the app icon and have all the small icon bitmaps generated automatically. That would actually even save time compared to what XCode normally wants you to do. But simply not messing up the appicon asset catalog all the time would already be a big help, too.
