应用程序图标仅在设备重启后更改

App Icon Only Changes After Device Reboot

我正在为我的 iOS 应用程序实现自定义应用程序图标,一切都在模拟器中运行。但是当我在设备上尝试时出现错误:

+[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:]}

弹出图标已更改,但弹出的图标是空的,应用程序的图标变成了默认的白色空白图标。只有在我重新启动 phone 后,图标才能正确显示。

欢迎任何帮助。

就我而言,问题只出现在一台特定设备上。我更改了应用程序的包标识符后,问题就解决了。