view controller unreachable. tried segue and instantiate

I am trying to complete my App for upload but cannot do the Archive which I believe is because of the warning I have for one of my view controllers. I am using a segue for a button in my main view controller to transfer to my game view controller and that works ok in testing but I do not seem to be able to remove this warning. I have tried using Clean and replacing the segue with code to instantiate the view controller and present it and that works in testing but still the warning persists. I have attached some screen shots. Can someone please give me a hint as to how I can get rid of this warning.

Replies

The problem you have is a wrong identifier for the GameViewController.

Warning refers to it as BV1-FR-VrT

But in storyboard it is jUd-m6-xkE

So check you have not created 2 GameViewController in storyboard. For this, search in the project for both identifiers to see where they are used.

Clean it if needed then do a Clean Build Folder.

  • I had another storyboard so deleted it. Could not get segue to work so using instantiate which does. Now all I have to do is sort out the GameView layout but that's another story. Thank you.

Add a Comment