actually I need to lock my iPhone programmatically, I have searched in the internet, also got some ideas, that is, using
If you missed to import certain framework means, you may get like this kind of error.. When I met like this kind of problem, i have followed this way..
1) Select the project in the project navigation window which will show project summary on right
2) Select 4th tab build phases
3) Select Link binary with library option
4) Add framework for which you are getting
5) Move the framework from main folder to the frameworks folder
6) Build it again and errors are gone.
Hope this helps :)