小编Tom*_*OON的帖子

运行时错误:SwiftUI:在主包的资产目录中找不到名为“”的图像

这是我收到的错误:

runtime: SwiftUI: No image named '' found in asset catalog for main bundle (/Users/yun/Library/Developer/CoreSimulator/Devices/623B1BB3-5C34-4311-AA41-86C42FE27439/data/Containers/Bundle/Application/8E87B349-36CA-41B8-A34C-02BBB2F00472/Travel.app)
Run Code Online (Sandbox Code Playgroud)

该图像没有名称,只有'',所以我找不到错误的原因。

//  AppDelegate.swift <br>
class AppDelegate: UIResponder, UIApplicationDelegate { <-- this is the break point...
Run Code Online (Sandbox Code Playgroud)

swiftui

6
推荐指数
1
解决办法
4409
查看次数

标签 统计

swiftui ×1