简体   繁体   English

今天扩展(小部件)在应用程序更新期间未更新

[英]Today Extension (Widget) not getting updated during app update

I have an app in appstore containing a widget and it works fine. 我在appstore中有一个包含小部件的应用程序,它运行良好。 Now when i tried to give an update for the existing widget and tried over installing through Xcode, the app gets updated , but the widget is not getting replaced with the new version. 现在,当我尝试为现有窗口小部件进行更新并尝试通过Xcode安装时,该应用程序会更新,但窗口小部件不会被新版本替换。 Please provide a solution. 请提供解决方案。

I had the same problem. 我有同样的问题。

  • First install a older version 首先安装旧版本
  • Open it container app, and drop down the today view 打开容器应用程序,然后下拉今日视图
  • Then install the new one 然后安装新的
  • Drop down today view again 再次下拉今天视图
  • It just keeping the old style 它只是保持旧风格

After that, I debug the today widget through Xcode 之后,我通过Xcode调试了Today小部件

  • First time, Xcode report a error with some message lick "Lost connection" 第一次,Xcode报告错误并显示一些消息,提示“丢失连接”
  • Stop debug 停止调试
  • Run debug again 再次运行调试
  • The today view drop down automatically and then become the new version style 今日视图会自动下拉,然后成为新版本样式

I wish it would be all right when submit to AppStore just like you said. 我希望像您所说的那样提交到AppStore时可以。 :( :(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM