What solved the problem for my "verifying application" error in Xcode was:
- In Xcodes project organizer expand the Resources section.
- Find the Info.plist file and double-click to open it.
- Enter your App ID into the Bundle identifier field. Do NOT include the 10-character random string Apple generated for you.