내가했던이 튜토리얼의 모든 : 내가 인증서, APP_ID와 프로비저닝 프로파일을 생성하고 아래의 간단한 코드로 푸시 알림 서비스를 사용하려고iOS의 푸시 알림 내 장치에서 작동하지 않습니다
http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
위임 파일 :
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
// Let the device know we want to receive push notifications
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
내 iPad에서 내 앱을 사용해 보았지만 작동하지 않습니다. iOS에서 내 앱이 푸시 알림을 사용하도록 허용하지 않으면 설정> 알림 목록에도 내 앱이 표시되지 않습니다. 컴파일 또는 내 응용 프로그램을 실행하는 동안 I 오류가 발생하지 않습니다 ..
오류
난 그냥 구현 "didFailToRegisterForRemoteNotificationsWithError"방법과 응용 프로그램
을 실행하는 동안이 오류가 무엇입니까2013-03-31 00:11:10.481 PushAppCalisma [272:907] {
NSLocalizedDescription = "no valid 'aps-environment' entitlement string found for application";
}
원격 알림을 지원하기 위해 프로비저닝 프로파일에서 App ID를 구성 했습니까? – Alexander
예, 위의 이미지를 묻는 중입니까? – cmltkt
응용 프로그램을 구현 했습니까? didFailToRegisterForRemoteNotificationsWithError : 어떤 오류가 발생합니까? – Mar0ux