Illegal configuration: compiling IB documents for versions earlier than iOS 7 is no longer supported

I recently upgraded to Xcode 9 . When I create the application, it says “illegal configuration” for some storyboards in my pod files. I tried to recreate the storyboard files, but this does not help.

[one]

+106
storyboard xcode9-beta
Jun 08 '17 at 7:34 on
source share
5 answers

Xcode 9 does not support storyboards created for iOS version less than 7.

Try changing the Lines for in File Inspector to a higher version, then clean and create.

See screenshot

enter image description here

Edit: Important information from @ user435779 below: Restart Xcode if the errors persist.

+204
Jun 08 '17 at 8:03 on
source share

Just set the deployment target of 8.0 + to General to fix this problem. No need to go through every xib file.

enter image description here

+25
Oct 08 '17 at 12:12
source share

Since the storyboard in Xcode 9 will not support below iOS 7.0, you need to update the iOS version in the File Inspector .

For more information, please find the GIF view below.

enter image description here

Hope this works !!!

+13
Feb 19 '18 at 10:53
source share

I tried both ways - on Xcode 9.3 (9E145)

For each XIB, I added the following goal.

enter image description here

On Target → General → Deploy Info-> Change Target

enter image description here

We cleaned the project and built it into the device again. It worked!

0
Apr 30 '18 at 8:17
source share

My case was different, I followed all the above solution, but did not receive a successful build, so I read the error with focus and went to the file manually. Open the .Xib file and change its development goal to iOS 10 and later.

and yes .. his work is good

0
Jun 13 '19 at 9:17
source share



All Articles