I had my app working perfectly fine in the simulator but was shouting that error when I deployed on iPad (iOS 5) . My Solution :
- Clean all targets and deploy .
If it still doesn't work :
- Remove the app from simulator/iPad/iPhone . You may restart your
ipad and Mac .
- Clean all targets and try to run again.