Unknown class FirstViewController in Interface Builder file

前端 未结 9 1839
庸人自扰
庸人自扰 2020-12-06 09:52

When I run my application i got this I see in my console this message \"Unknown class FirstViewController in Interface Builder file.\"

I am running TabBar applicati

9条回答
  •  日久生厌
    2020-12-06 10:36

    This can also happen if you use the same package name for multiple projects (if you're being lazy with your provisioning). Go into your user directory, then go to Library/Application Support/iPhone Simulator/[your sdk version]/Applications and delete what's in there. You may also have to delete the app from the device. That will remove any accidental references to files from other projects, which can cause this error.

提交回复
热议问题