I have copied and pasted some source code from one old xcode-project to another new project.
Included in the copied code where some @IB
For me solved after restarting the Xcode . Now its working fine.