Add it in the build phases copy files phase or use the environment variables to 
build the path in a shell script and run that as part of your runtime build 
scripts.

Sent from my iPhone

> On Sep 17, 2019, at 10:20 AM, Gabriel Zachmann via Cocoa-dev 
> <cocoa-dev@lists.apple.com> wrote:
> 
> Thanks a lot for the response.
> 
>> So don't spend too much time on getting your screen saver icon to be
>> pixel perfect. The Desktop and Screen Saver pref pane will always do
> 
> OK, thanks a lot for your advice.
> I just thought I'd give it a quick shot, but couldn't figure it out :-)
> 
>>> looks like the file Contents/Resources/thumbnail.png (or .tiff) in the 
>>> bundle is used. If I replace this file it simply shows up.
> 
> How can I make Xcode to put an image into the Resources bundle of my screen 
> saver?
> 
> I have googled, found some hints about the "Asset Catalog" and an AppIcon 
> (iOS only?),
> but couldn't figure out how to make my image appear in the sidebar.
> 
> BTW: I have also checked the source code of xscreensaver , but could not 
> figure out how they do it.
> 
> Best regards, Gabriel
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to