Xcode 9 compiling IB documents for earlier than ios 7 is no longer supported 如图所示,把build for 的版本更改为iOS7.1或以上即可。