I copied and pasted the view controller which was automatically generated by the new project to create multiple view controllers. I then pasted the UI objects from the pervious project into the new project. I also created seperate swift files for each new view controller unlike my pervious project and transfered the code corresponding to each specific one. However for the example I provided I did not transfer the UI objects from the old project, only the code.
I did the things you said and the same error still occured.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: