Xcode 运行时错误无法加载“_IBBrokenImage_”

Blu*_*Med 4 xcode uiviewcontroller ios swift

我正在开发一个带有多个视图控制器的应用程序(Xcode 11.4,iOS 13)。在模拟器或设备上运行时,当我导航到特定的 VC 时,调试器会发出:

"`Could not load the "_IBBrokenImage_" image referenced from a nib in the bundle with identifier ...`" 
Run Code Online (Sandbox Code Playgroud)

这个特定的 VC 没有任何图像,只有按钮、标签和 UITable 中的文本。它不会触发标准 Swift 或异常断点。iOS 是否有一种特定的方法可以用来提取图像资源,我可以尝试用它来捕获此问题?或者,是否有不同的方法来查找所投诉的问题?谢谢!

gra*_*spo 7

当我更新到 Xcode 11.4 时,就发生了这种情况。由于某种原因,我的 UIBarButtonItem 的图像被设置为Unkown Image故事板中的图像。我只需要再次初始化图像。