0

I am using APNS in my ios application. I have tested APNS in debugging mode. Now when i am creating a build, the app is not able to Register For Remote Notification.

and it goes to didFailToRegisterForRemoteNotificationsWithError method.

Everything goes well when i connect device with xcode and test APNS, but when i create a build and install it to my device, i am getting below error:

no valid 'aps-environment' entitlement string found fot application. code=3000

Any solution?

Update

My app always uses wild card profile to generate IPA file, dont know why.

Community
  • 1
  • 1
Alap Anerao
  • 2,083
  • 22
  • 27

1 Answers1

1

Delete wild card profile and refresh xCode from preferences.

Shabbir
  • 86
  • 3