Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

453
Views
Why don't I receive iOS Push Notifications with a debug build connected to Xcode debugger?

When I test the app using a TestFlight version built by the CI machine, the device receives push notifications.

But when I rebuild the app under Xcode locally with the debugger connected, the device doesn't receive any push notifications.

To validate things further I again tested locally with a push notifications tester, and the device indeed received a push notification.

So the code isn't omitted due to it being a #DEBUG build as the grant and registrations pass.

What is my local build possibly missing?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

When you build your app in debug locally your app will generate a unique device token that doesn't receive production push notifications. When you build your app with a distribution provisioning profile it generates a different device token that does work on production.

Apple will reject a development device token unless you are specifically requesting a push notification using your APNS Sandbox certificate.

So if you haven't already you'll have to go through the certificate creation process all over again but this time for a sandbox certificate and use that one instead.

over 4 years ago · Santiago Trujillo Report

0

The solution ended up being that our server with the Houston gem needed to configure its APNS support to be in development mode, and not in production mode. 👍

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!