APNS: invalid token (8)
问题 I am using the apns php server provided at https://code.google.com/p/apns-php/. I've have set up th push notification certificate but my code still throws an error on connect. What is wrong with this? Here is how I get the device token: - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken { #if !TARGET_IPHONE_SIMULATOR // Prepare the Device Token for Registration (remove spaces and < >) NSString *deviceToken = [[[[devToken