'App Icon Only Changes After Device Reboot
I am implementing custom app icons for my iOS app, and everything works in the simulator. But when I try on device I get errrors:
+[LSApplicationProxy applicationProxyFor*] is not a supported method for getting the LSApplicationProxy for the current process, use +[LSBundleProxy bundleProxyForCurrentProcess] instead.
LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}
Attempt to map database failed: permission was denied. This attempt will not be retried.
Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}
It shows a pop-up that the icon was changed, but the icon in the pop-up is empty, and the app's icon turns into the default white blank icon. Only after I reboot the phone, the icon displays correctly.
Any help would be welcome.
Solution 1:[1]
In my case issue was only showing up on one particular device. After I changed the app's bundle identifier, the issue was solved.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Grant Oganyan |