We are experiencing the same issue with our app. However, for us, it's not caused by changing the "kind", but only after an app update in which there were no changes regarding the widget. Just after it updated, the widget turns black in some cases. It also appears black in the widget gallery.
Removing and adding it again did not work in this case, only after an iOS restart it works fine again.
I am seeing a similar error in console:
Content load failed: unable to find or unarchive file for key: [my.bundle.id::my.bundle.id.widget:MyWidget:systemSmall::158.00/158.00/21.60:(null)] on no host. The session may still produce one shortly. Error: Using url `file:///private/var/mobile/Containers/Data/PluginKitPlugin/A1582067-2483-4B92-B1E4-A35F5BBA0DF7/SystemData/com.apple.chrono/placeholders/MyWidget/systemSmall----158.00w--158.00h--21.60r--0f--0.00t-0.00l-0.00b0.00t.chrono-timeline` ... Error Domain=NSCocoaErrorDomain Code=4 "Die Datei „systemSmall----158.00w--158.00h--21.60r--0f--0.00t-0.00l-0.00b0.00t.chrono-timeline“ existiert nicht." UserInfo={NSFilePath=/private/var/mobile/Containers/Data/PluginKitPlugin/A1582067-2483-4B92-B1E4-A35F5BBA0DF7/SystemData/com.apple.chrono/placeholders/MyWidget/systemSmall----158.00w--158.00h--21.60r--0f--0.00t-0.00l-0.00b0.00t.chrono-timeline, NSUnderlyingError=0x3003fdfb0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
And I also see this one:
Two equal instances have unequal identities. <xpcservice<my.bundle.id.widget([osservice<com.apple.chronod>:132])>> and <xpcservice<my.bundle.id.widget([osservice<com.apple.chronod>:132])>>
Is there a way to fix it?
Using iOS 17.4
Topic:
App & System Services
SubTopic:
General
Tags: