Problem with image on WatchOS 10 Complication (WidgetKit)

I'm developing my app for WatchOS 10 with Xcode 15.0.1.

I'm trying to make a complication with WidgetKit (SwiftUI) to make it easier the user to launch the app. I'm using a simple and small image 50x50px to test it first.

But when I try to add to the Watch Face, it show a gray circle like there is nothing there. But when i'm editing the Watch Face it show the image :/, like the image bellow:

And another problem is when is Accent mode, it fills the image with a gray color, as the image above shows it.

I tryed to add monochrome png image with the alpha-channel, but even that didn't worked too.

And my code is simpler has that:

var body: some View {
        Image("Cat")
}

Someone is facing this same problem? Has any possible solution.

Replies

I fix the problem. The problem is that I was using an image with size 320x320px. And I should use an image 120x120px or minor.

The interesting thing is that inside the WatchApp in a physical device the images was showing perfectly, but on the Widget and Complications was not. AND on the simulator watchOS everything was working.

这个问题你解决了吗,我这儿遇到了同样的问题