For xcode 4: you must create the Entitlements.plist file from menu-> File-> New-> New File-> Signature Codes-> Entitlemens. it will create Entitlements.Plist in your application folder
and Targets-> build Settings-> Code Signing Entitlements, you double-click here and write "Entitlements.plist"
I did this and xcode didn't get any more errors
source share