Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Narendar Singh

macrumors member
Original poster
Jun 22, 2012
76
0
INDIA
After calling registerForRemoteNotification: funtion from Application Delegate I am getting following error in didFailToRegisterRemoteNotificationWithError:

no valid 'aps-environment' entitlement string found for application

What's wrong?
 
After some search on Google, what I found - There were a problem in provisioning file, It MUST NOT be wildcard provisioning.

Then, I have created a provisioning file ie MyApp_Push_Adhoc. Then I set this in Code Signing Entity (Debug).

When I run my app in Debug mode app get crashed.

My other question is - Is that possible to run app in debug mode by using developer provisioning file.

FYI: I do not have much understanding on Provisioning file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.