macOS app local notification doesn't show app icon? - swift

I've already added AppIcon.appiconset Icon Files in info.plist, also no xcassets warnings. If I understand correctly, the app should show AppIcon if I set IconFiles in info.plist and AppIcons in General right?

Turns out it's a bug in Xcode 13. Restarting my Mac solved the problem.
https://developer.apple.com/forums/thread/682648

Related

Pushnotifications on macOS with swift

My problem is that I can't manage to specify an icon in the pushnotification for macOS.
I have already tried it with an AppIcon as well as other icons which I specify as AppIcon. It should be noted that all icons in my settings are displayed correctly, but it does not use the AppIcon for the pushnotification.

Icon not appearing in Xcode archive?

My app icon isn't appearing in Xcode archives. I have them set in the plist and they are showing on the simulator, on the device and in the project settings. See the picture below:
How can i fix this? Im using the 4.3.1 by the way.
Thanks...
Try this:
Delete all versions of your app from your device.
In Xcode, do "Command+Option+Shift+K" and say yes.
Try to archive again?
Btw, I don't think Default.png and Default#2x.png should be in your icon list.
Don't forget to add small icons and an App Store icon to the project.
Don't forget on correct icon naming. And the Default.png shouldn't be in the .plist.
Also check the target of the icon files.
Icon.png
Icon#2x.png
Icon-72.png
In Xcode press
Command+Shift+K and press Yes.
Command+Shift+Alt+K and press Yes.
The try building, running and Archiving.
You are missing your iTunesArtwork as Item 6 in Icon Files in your plist. Apparently, this is where the Archive window get its image from.

App Icon Won't Change In iPhone Simulator

I had an old app icon in xcode that I had just attached to the program to see how it looked in the simulator. I made changes, deleted the images, and replaced them in Xcode. However, they are still the old ones in the simulator. I tried resetting it and everything. Does it keep a cache somewhere?
EDIT: Solved by cleaning project.
Have you tried cleaning?
From the Xcode "Product" menu, choose "Clean" or "Clean Build Folder" if you hold alt/option.
If "Clean" does not work, try this:
Reboot the device
Kill the app before running it from Xcode.
Those works in my case.

iPhone Settings Icon Graphics (Icon-Small#2x) Not Updating

Has anyone ever had an issue with iPhone settings icons not updating with new graphics? I added a new Icon-Small#2x.png to my project, but when it builds to the device the settings app still uses the old graphic even though it's no longer there and even if I delete the app before installing! Note that in the simulator's setting app everything updates just fine.
What am I missing here? The exact name of the file is Icon-Small#2x.png, which is the exact name recommended by Apple, and I've made sure to add all my icon files to the info.plist.
Try Clean first, and then Build.

Xcode : Missing icons for iOS apps in Organizer's archives

If I choose "build and archive" from XCode, the Organizer is launched and I can see a list of my archived applications. I have 4 different applications (with several archives each), but the icon that's displayed in Organizer for one of the apps is missing -- there is a question mark icon instead. The app does have an associated icon and it validates and submits to the app store without any issues.
Why isn't Organizer picking up the icon correctly and how do I fix it?
Not a bug, I think you need to have at least one for Iphone and a bigger one for ipad (although my app is only designed for iphone...). I replaced the "icon file" key with "icon files" in the plist file and put one 52x52, one 72x72 and also one 114x114.
I think it is a bug. I see the same for all my apps that I Build & Archive.
Include in the info.plist for the key "Icon File" the value "Icon.png".
Do not forget to also include the image in the container.
I have the same problem, and I solved it by adding a "Icon file" in info.plist, and adding a "Icon files" after "Icon file", and the icon is fine in organizer. I think that might a parsing sequence problem.
Those of you that have upgraded to Xcode 4.3 and are having problems with the Application Icons showing up in the Organizer Window under Archives, look at this posting which includes a solution:
Xcode 4.3 : missing icons for iOS apps in Organizer's archives
When I had a missing icon in the organizer, I appended
.icns
to the Icon file name in the Info.plist file.
For XCode 4.2 :
Patrick Burleson's answer is correct, and worked for me. However, the icon that showed up in the organizer was still fuzzy/low-resolution after doing that. I fixed this by putting Icon#2x.png in the "Item 0" slot of 'Icon Files', instead of putting Icon.png there as I had before. No idea why I should need to do that, but in any case, if someone else has that issue, that may be the way to fix it.