即使扩展了应用程序图标,共享扩展程序的应用程序图标也不会在设备中更新 [英] App icon of Share extension is not updating in device even with updating app icon

查看:114
本文介绍了即使扩展了应用程序图标,共享扩展程序的应用程序图标也不会在设备中更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的iOS应用程序中,我有一个共享扩展名.最初,我们使用不同的应用程序图标.后来我们更改了应用程序的应用程序图标.旧的图标已被替换为无处不在,但对于共享扩展名,它并没有被新的图标替换. 以下是我们尝试过但仍未更改的方法:

In my iOS application, I have a share extension. Initially we were using the different app icons. Later we changed the app icons for the application. The old icon has got replaced from everywhere, but for Share extension, it is not getting replaced with the new icon. Following are ways we tried out but it has not getting changed:

  • 删除应用程序并重新安装. -没用
  • 删除派生数据并重建应用程序并重新安装-无效.

是否有人遇到过相同的问题并得到解决?

If anybody has faced the same issue and have got resolved it?

推荐答案

似乎是Apple开发人员中心的错误.您的图标已绑定到用于签署ShareExtension的Provisioning Profile.

Seems like its a bug of the Apple Developer Center. Your icon is tethered to the Provisioning Profile which used to sign your ShareExtension.

我解决了一个问题,只是更改了ShareExtension的捆绑包ID.转到常规->身份->捆绑包标识符",然后输入另一个捆绑包ID.

I resolve a problem just changing a bundle id of the ShareExtension. Go to "General -> Identity -> Bundle identifier" and just come up a different Bundle ID.

P.S.如果您不想更新您的包ID,请尝试使用以下方案重新创建它.转到"Xcode->首选项->帐户->您的AppleID->查看详细信息",右键单击打开上下文菜单,然后执行移至垃圾箱"操作.

P.S. If you dont wanted to update your bundle id just try to recreate it using following scheme. Go to "Xcode -> Preferences -> Accounts -> Your AppleID -> View Details", open the context menu using the right mouse click and perform "Move To Trash" action.

我正在Xcode 8.2.1和iOS 10.2上进行开发.

Im developing on Xcode 8.2.1, iOS 10.2.

这篇关于即使扩展了应用程序图标,共享扩展程序的应用程序图标也不会在设备中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆