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

StoryboardXcode9 Beta

Storyboard Problem Overview


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

Storyboard Solutions


Solution 1 - Storyboard

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

https://i.stack.imgur.com/vm2Gi.png" alt="enter image description here">

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

Solution 2 - Storyboard

Simply set the deployment target to 8.0 + in General to fix this issue. No need to go through each xib file.

enter image description here

Solution 3 - Storyboard

As storyboard in Xcode 9 will not support which is below iOS 7.0, so you need to update the iOS version in File inspector.

For more information please find the below GIF representation.

enter image description here

Hope it works!!!

Solution 4 - Storyboard

I tried both methods - On Xcode 9.3 (9E145)

For each XIB, I added the following Target.

enter image description here

The On Targets -> General -> Deployment Info-> Change target

enter image description here

Cleaned the project and build again into device. It worked!

Solution 5 - Storyboard

My case was the different, I did all the above solution but not getting succeed build, so I read the error with focus and go to manually with the file open the .Xib file and change it development target to iOS 10 and later.

and Yup.. its work Fine

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNSXCodeView Question on Stackoverflow
Solution 1 - StoryboardVinay KumarView Answer on Stackoverflow
Solution 2 - StoryboarditzoView Answer on Stackoverflow
Solution 3 - StoryboardRamkrishna SharmaView Answer on Stackoverflow
Solution 4 - StoryboardAlvin GeorgeView Answer on Stackoverflow
Solution 5 - StoryboardSyed HarisView Answer on Stackoverflow