Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7196817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:51:00+00:00 2026-05-28T20:51:00+00:00

I have created an app which using APNS. I have got the push notifications

  • 0

I have created an app which using APNS. I have got the push notifications when I used developer certificate and its working fine. I installed it through Adhoc method. Now I need to upload my app to appstore. I build my app with distribution certificate and put the same in the server also, but not getting any notifications. This is my first time i am doing this. I have went through so many forums and I got so many situations. One is, the token ID (i think it is the same as device token) should be different in development and production mode, but I am getting same token ID. But still I am not sure about the issue.
So I have some questions, which certificate should i use in my app and at the server when uploading to appstore? And should I use Sandbox or production server?
Please give me a clear idea about all these.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:51:01+00:00Added an answer on May 28, 2026 at 8:51 pm

    The sandbox certificate is used for development, the production certificate is used for apps submitted the AppStore. The correct certificate is linked to either the development provisioning profile or the distribution (AppStore) provisioning profile.

    The one thing to remember is to recreate the provisioning profiles if you create the push certificates AFTER creating the original profile. The profiles should contain and ‘aps-environment’ string if push is enabled for your app, otherwise push won’t work. If your app initially didn’t contain push (this functionality -including certificates- were added at some later point), then the provisioning profiles for both development and the AppStore will not contain the ‘aps-environment’ string and thus push won’t work.

    You can open your profiles in a text editor and look for the ‘aps-environment’ string to make sure it exists. This was the main issue with push I kept running into, so my guess is you have run into this as well.

    Recreation of profiles is easy, just open them up on the Apple Developer portal, change some setting and save. Download and install the new profile to use it.


    Edit: Well, I got push working with an Ad-Hoc provisioning profile. First I recommend you download the following project from github, it’s really convenient for testing development and production push:

    https://github.com/Zambiorix/Apple-Push-Notification-Test

    Next I’d like to know if you’re able to debug the app. If you’re able to debug the app, then you’re not using the Ad-Hoc profile. When you try to debug with the Ad-Hoc profile, the app will start followed by a crash (some message involving get-task-allow).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a provisional profile using 'Non Wild Card App ID'. Which does
I have created a small iPhone app using MonoTouch - got all provisioning files
I have created one web app using mvc and in that used form authentication
I am working on a project in which i have created an app on
I have created an app which allows users to buy non-consumable content. The retrieving-ids-payment-process
I have created an app which allows users to buy non-consumable content. The retrieving-ids-payment-process
I have created an app that uses NSTimer, which gets triggered each second. My
I have created a library which reads the app.config file and gets the type
I have created a small application which opens,reads and creates Excel files. The app
I have been working on test framework, which creates a new app domain to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.