Illegal Configuration: Compiling IB documents for earlier than iOS 7 is no longer supported

NSXCode picture NSXCode · Jun 8, 2017 · Viewed 36.7k times · Source

I recently updated to XCode 9. When I build the app it says "illegal configuration" for some storyboards in my pod files. I tried to recreate the storyboard files but it doesn't help.

[1]

Answer

Vinay Kumar picture Vinay Kumar · Jun 8, 2017

XCode 9 will not support storyboards that are built for iOS version less than 7.

Try changing the Builds for in File Inspector to a higher version then Clean and Build.

See screenshot

enter image description here

Edit: Important info from @user435779 below: Restart XCode if the errors don't go away.