I\'ve gone through a bunch of answers regarding this problem but none seem to relate to my problem.
I have two views, View 1 has a button. View 2 has a button.
If you're working with cocoapods, it may also help to run pod update. One of my teammates changed a pod around which resulted in that error, so pod update fixed it for me.
pod update