我在我的项目中使用 GoogleMaps Pod。我的 Storyboard之一有错误:
error: IB Designables: Failed to render and update auto layout status for MapViewController: dlopen(GoogleMaps.framework, 1): no suitable image found. Did find: GoogleMaps.framework: mach-o, but wrong filetype
我已将 View 类设置为 GMSMapView:
应用程序正在模拟器上运行。我该如何修复这个错误?它导致整个 Storyboard一片空白。
最佳答案
创建 GMSMapView 的子类并使用该类名而不是 GMSMapView。添加后,不会发生此错误,并且整个 Storyboard正在工作。
import GoogleMaps
class GoogleMapView : GMSMapView {
}
关于ios - IB 可设计 : Failed to render and update auto layout status for Google Maps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59260463/