I am fairly new to Objective-C programming. I have been searching for solutions on how to create remote push notifications (iOS 8) for over a week now, but the only tutorial I could find was this.
I tried reading Apple's 'tutorial' but it was extremely confusing. I followed each of Ray Wenderlich's steps exactly the way he stated them, yet each time I run the 'PushChat' application, I get the following error:
Failed to get token, error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x********* {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}
I have done countless searches on this error, yet none of the solutions presented fixed my problem. I would greatly appreciate a book/link to a tutorial on how to set up remote push notifications, specifically for iOS 8 and Objective-C due to the fact that their API (from iOS 7 - iOS 8) has so radically changed.
Thank in advance to all who reply. :)
I understand my question has been marked as a 'duplicate'. I can assure you its not. The question I'm being referred to uses a version of Xcode that is over 2 years old. I've attempted the solutions that are provided in the question I'm being directed to, but I still continue to receive the same error message.