I have recently developed a set of icons for my ios app using https://makeappicon.com. This provides a folder of appropriately sized images. I then have dragged each of these images into the appropriate slot in the AppIcon section in Assets.xcassets. The icon shows up fine in on my phone screen but not in the app switcher (see circled in image). There are no errors showing.
I have:
- Cleaned build folder and rebuilt
- I have restarted my iPhone
- I have manually placed all the images in the slots
- I have also tried replacing the original AppIcon folder with the one provided by make appicon
All to no effect. Be grateful for any suggestions.
Uninstall App → Restart Device → Install App
Just putting here for the sake of working answer !
As #cobberboy has mentioned in comment, doing above works - verified
I have been trying to figure out this issue, as I multiple times changed the icons removed the build, took new builds etc, but the app switcher icon was the default icon.
I have tried the app on a new phone and the desired icon was showing. So my guess is that the app switcher, (also apple watch OS's app switcher) has some sort of hardcore cache machanism.
If anyone coming from Google facing this issue, not sure how to flush this cache, but you can go ahead and ship your app, as this cache is only on your device.
Good luck!
Ensure you have provided icons for all sizes, deploy, then restart the device to clear any caches.
Related
I am changing app icon for my app and had below issue.
Even though I changed app icon still at times when I quit the app the animation shows old app icon and then transforms to new app icon. And also in Siri suggestion I still see old app icon. Will this be there even after app release or is it just a issue with running through Xcode. Is there anyway I can remove this app icon caching? I tried deleting old app and restarting device and then installing new app that solves this issue, but actual users won’t be doing this. Can anyone suggest any solution for this issue?
I am using Xcode 11 and I am on iOS 13.
Clean build and delete derived data, and that should take care of your issue. But users downloading app from App Store will not experience this issue.
1) Product > Clean build folder
2) XCode > Preferences > Locations > click on arrow for derived data
The iOS Springboard caches the app icon. So as soon as you change the app icon it won’t reflect in Siri suggestions and few app quit animation may still show old app icon. Gradually as user starts using the app with new logo and when iOS springboard caches the app icon again it will start showing the new app icon. So, don’t worry gradually all your users will start seeing the new app icon.
I've updated launch screen on an enterprise app, but it won't update when installed on an iPad with the existing app. I've tried completely deleting the app before installing a new version, but it still launches with the old launch screen image.
I've tried installing the new app on another iPad where this app was never installed and the new launch screen appears as expected. Both iPads run the same iOS v9. The app was built with xCode 7.2
In summary I've tried the following scenarios:
updating existing app (version 1) on iPad A - with a new app (version 2)
iPad A, loads the new app v2 with launch screen from version 1
installed new app (version 2) on iPad B, which never had this app.
iPad B, loads the new app v2 with correct launch screen
then I installed old app version 1 on iPad B
iPad B, now loads the old app v1 with launch screen from version 2
It seems the iPad somehow caches the launch screen from the very fist install regardless which version it is. Deleting the app and reinstalling does not seem to help and it does not look code related as the correct launch screen images was loaded on iPad B
I just had this problem and i found that deleting the app off the device or simulator, then restarting the device or simulator seems to fix the issue.
I found just restarting the device didn't work.
I had tried many kinds of solutions and restart your iPhone is the only way.
In xcode, under Assets.xcassets, I clicked on LaunchImage and then unchecked Universal, checked iPhone, unchecked iPhone, and checked Universal again. Then ran build and it cleared the old image.
Simulators and iPhone caches the launch images.
this can help you
1>Clear the derived data under your developer/xcode folder
2>reset the device by pressing home button and lock button at same time
3>Push your code to device and it will work, if this doesnt work then creat ipa file and install using itunes after resetting the device and it will show the new launch images
The answer by Steve still holds as of iOS 13.2.3, but I wanted to add a few more items just to back up this point that otherwise exceed the restrictions of a comment.
For starters, I did delete the app, restart the device, etc but because this issue occurs when a user updates through the app store, those fixes are simply not viable.
Then, I decided to take more drastic actions within the app to try and remedy this. These actions were taken with TestFlight builds.
In my particular case, the problem stems from a version string that misrepresents the installed version.
Step 1 then was to simply remove the UILabel in question. Re-running the app would still cause the label to appear in the app.
Step 2 then was to create an entirely new LaunchScreen storyboard and set it as seen here:
Launching the app still presents the old launch screen.
This leads me to believe that something in the project structure is the source of the caching, and no reasonable changes to the LaunchScreen by the developer are going to get around this.
Update
The app has been released to the Appstore, and using the official store release, the app presents the correct launch screen.
Solution
Again, thanks to the thread I have referenced above I found a way to solve this issue - name your new image differently from the one there was before in case your new one has the same name as the old one and put it out of the *.xcassets folder to the project directory and reference it in your UIImageView. And that's it.
Just delete app from simulated iPhone home screen.
On iPhone 11 Max version 2-finger click and drag up from outer margin of the iPhone which will bring you to the home screen and exit your simulated app.
Then 2-finger click and hold your app, delete app and close simulator.
Open Xcode and click play button to run your simulation and the launch screen should be updated.
P.S. Deleting Xcode cache and derived data couldn't hurt.
See Rambo's post about the issue. At least on iOS 13 you can clear this cache yourself:
import UIKit
public extension UIApplication {
func clearLaunchScreenCache() {
do {
try FileManager.default.removeItem(atPath: NSHomeDirectory()+"/Library/SplashBoard")
} catch {
print("Failed to delete launch screen cache: \(error)")
}
}
}
I have an app I'm developing. But when my iphone is locked and the push notification goes to the iwatch it doesn't show my app icon. Rather it shows the default app icon. I tried adding the watch app icons to the App Icon file. but it still only shows the default icon when the push notification goes to the iwatch.
Are you sure you put them in the AppIcon in the images.xcassets folder in the WatchKit App target? There are 8 sizes you'll need to supply.
Be sure all the image in the xcassets are in the correct dimension in pixels (be sure no warnings from Xcode). After change or add images in my App I removed the App from iPhone and Watch and reinstall all. Then all icons were OK.
You need to add AppIcon in "WatchKit" Assets.xcassets file. Then remove your old build and install new one. Now you can see app icon.
I had same problem...
All images and assets were correctly in place
I even did a clean build, deleted the watch app and reinstalled it (via Xcode debugger sequence)
But: The app icon still would not show up in the listing or glance
Note..important clue, the icon WOULD show up if I use the simulator.
Fix: After installing the latest and greatest update, REBOOT THE WATCH.
i.e. I held the side button until the Apple Icon reboots
Voila..the icon now appears correctly..go figure..
I am using the asset catalog and all the images for the app icon are chosen with zero errors/warnings in the asset catalog.
When loading the app, the white app icon template (the one with lines that look like a target) appears behind the progress circle and it is grayed out. Only once the app finishes loading and installing then my desired app icon appears. Has anybody seen this and have a solution? I have tried almost everything I can think of:
Used all the standard app icon names and sizes and included in project
Add those app icons to the info.plist's cd bundleprimaryicon dictionary.
The above didn't work so tried asset catalog which also didn't solve the issue.
His occurs whether I distribute the app using either ad hoc or enterprise cert.
Running Xcode 6.1, iOS 8.1
You can add files like this:
project files added:
\n
info.plist added:
Hope this can help you.
On a iOS5 Newsstand application we are developing we are having a strange behavior which I wonder you know what this is about.
The application is being downloaded and installed from TestFlightApp correctly into iOS "desktop" upon finishing the installation it moves to Newsstand (which is expected behavior as this is a Newsstand app) and disappears from the location it was being downloaded. If I swipe to another section of home screen, and go back, I see again the app icon on the desktop with "Installing" message and bar at 100%. The application works perfectly on Newsstand rack, but the shadow "Installing" icon on the desktop stays there until the phone is restarted. Any ideas? Thanks
I stumbled into this same problem and believe I found the source.
On an existing project, I had changed the iOS Bundle ID from the default com.yourcompany.ClientName to com.ClientDomain.ClientName.
I published a new IPA and dropped it into our "adhoc" web directory for distribution. Meanwhile, in the .plist file, the key bundle-identifier /key and string com.yourcompany.ClientName /string was still there, so it no longer matched.
Once I updated the "yourcompany" part to ClientDomain, the shadow icon problem was resolved.
Hope that helps someone in the future!