Here, at MOCA, we strongly recommend creating two environments to test the correct integration of the Remote Push functionality of our SDK. The reason is simple: APNs has a strict set of rules in how to test production defined Apps, and it can create confusion.
APNs divides between two environments: development and production. It issues, for an App Bundle ID, a certificate for production, for development or a universal certificate. Both Development (Sandbox) and Production APNs server flows are isolated from each other.
Here's an example of a remote push flow:
So what happens if you add a production certificate to an Xcode build and test locally? You'll find it won't work until you upload it to AppStore or send it via TestFlight. Therefore it's highly recommended to use two environments (development and production) and use development certificates for testing "hot-out-of-xcode" builds and production certificates that are tested via TestFlight or AppStore builds.