之前是用xcode8.3.3创建的工程最近升级到Xcode9.0 遇见了这个问题

在Xcode 9.0以上 新建xib文件会报错 xx.xib: error: Illegal Configuration: Safe Area Layout Guide before iOS 9.0

是因为在iOS 11上安全距离的变化引起的解决办法如下图:(以UITableViewCell.xib为例)

xx.xib: error: Illegal Configuration: Safe Area Layout Guide before iOS 9.0报错问题解决

按照下图的标示操作

xx.xib: error: Illegal Configuration: Safe Area Layout Guide before iOS 9.0报错问题解决

 

xx.xib: error: Illegal Configuration: Safe Area Layout Guide before iOS 9.0报错问题解决

再次编译项目就OK了!

相关文章:

  • 2021-06-01
  • 2021-08-04
  • 2021-05-06
  • 2021-07-15
  • 2021-08-26
  • 2022-12-23
  • 2021-11-19
  • 2021-12-31
猜你喜欢
  • 2021-07-26
  • 2021-12-15
  • 2021-05-01
  • 2021-10-09
  • 2021-06-14
  • 2021-09-01
  • 2021-07-21
相关资源
相似解决方案