apns device token not generating with production certificate
<p>I have read ray's awsome tutorials on apns from there
<a href="http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12" rel="nofollow">http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12</a>
http://www.raywenderlich.com/3525/apple-push-notification-services-tutorial-part-2</p>

<p>and i have implemented them with development certificate and every thing is working fine, but now when i have implemented it with production certificate, the device token has stop generating. i have created new App Id for production and also new Production Push SSL Certificate and i have also created the .pem files but some how the device token is not generating, plz. guide me in this coz i am stuck here, even this notification is not being called</p>

<pre><code>- (void)application:(UIApplication*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken
{
    NSString* oldToken = [dataModel deviceToken];

    NSString* newToken = [deviceToken description];
    newToken = [newToken stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"&lt;&gt;"]];
    newToken = [newToken stringByReplacingOccurrencesOfString:@" " withString:@""];

    NSLog(@"My token is: %@", newToken);

    [dataModel setDeviceToken:newToken];
    [[NSNotificationCenter defaultCenter] postNotificationName:@"TokenRecieved" object:nil];

    if ([dataModel joinedChat] &amp;&amp; ![newToken isEqualToString:oldToken])
    {
        [self postUpdateRequest];
    }
} 
</code></pre>

<p>plz. guide</p>
