ControlWidget jump deep link and custom icon error

When i use Xcode16 Beta4, I finish some code for example

 @available(iOS 18.0, *)
 struct Test001ControlWidget: ControlWidget {
     
     let kind: String = "Test001ControlWidgetKind"
     
     var body: some ControlWidgetConfiguration {
         StaticControlConfiguration(kind: kind, content: {
             ControlWidgetButton(action: Test001ControlAppIntent(), label: {
                 HStack {
                     Image("controlcenter_point")
                     Text("Test001")
                 }
             })
         })
         .displayName("Test001")
     }
 }


 @available(iOS 18.0, *)
 struct Test001ControlAppIntent: AppIntent {
     
     static let title: LocalizedStringResource = "Open Demo Some Page"
     
     static var isDiscoverable: Bool = false
     static var openAppWhenRun: Bool = true
     
     func perform() async throws -> some IntentResult & OpensIntent {
         
         let defaultIntent = OpenURLIntent()
         guard let url = URL(string: Test001JumpType.sohuWatchPoint.jumpLink()) else { return .result(opensIntent: defaultIntent) }
         return .result(opensIntent: OpenURLIntent(url))
     }
     
 }

The icon can be displayed normally and icon type is png.

And deep link also jump normally.(Note: The control widget file target membership are main app and widgetExtension)

But iOS18 RC code is no working and icon show "?"

How do I deal with these issues?

I hope to hear from you soon.

Tks a lot...

我也一样,找了一天的方法了,没找到。好像只能用sf symbols

ControlWidget jump deep link and custom icon error
 
 
Q