I had to come to the conclusion that the project file was corrupted in some strange way.
I created a new project, imported my swift files and reinstalled the CocaMQTT pod. I then recreated the Main.storyboard and now all works as it should. A pain, but at least the view layouts were simple.