I followed a basic push notification tutorial and was able to get push notifications working on my own phone with development certs. (http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1).
I'd like my friend to be able to run the same project code base, retrieve his deviceToken from the console log, and manually execute a PHP file to get a notification on his phone.
So far I tried adding his device UDID to the devices profile and getting him to run the codebase, but he receives the error:
Failed to get token, error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x165665c0 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}
Should he be able to run the project with my provisioning profiles and certificates? Or do I need to create distribution certs for push services? Any help appreciated. Thanks