user500468
user500468

Reputation: 1221

Illegal configuration in Xcode 6.0

Im trying to build my project in Xcode, but I get the error message: "Illegal Configuration Launch screens may not have connections".

I have tried to remove the value from the "Launch Screen File"-field, but I get the same error. I've also tried to do a clean build without success.

Anyone who can help me?

mac

Upvotes: 1

Views: 3413

Answers (2)

nyluje
nyluje

Reputation: 3773

Going thru the big nerd ranch as well with Xcode 6,

To complete the previous answer, the other .xib file is displayed as "Main.storyboard" in the project hierarchy.

"Main.storyboard" is where one needs to implement the "label" and "button" in drag and drop mode for the demo project, and then it is possible to connect them with the methods created in file "ViewController.m".

Then you'll probably have another issue with the "initWithNibName" not loading when the app is launched. But I haven't solved that one yet.

Upvotes: 0

Michael Dautermann
Michael Dautermann

Reputation: 89509

LaunchScreen.xib is a new thing that came in with iOS 8 and Xcode 6. Your LaunchScreen.xib can not have any connections.

So what that means is you need to disconnect the "showQuestion" and "showAnswer" actions and all the outlets you have there. Those should be defined in a view controller using a different xib.

Upvotes: 6

Related Questions