I am aware that questions have been asked regarding the following error: entitlement 'application-identifier' has value not permitted by a provisioning profile, however, none of the solutions have solved my problem. Here is the situation: I have an app that downloads files, and works great in dev mode. When I TestFlight the app, I get the error below:
entitlement 'application-identifier' has value not permitted by a provisioning profile
in my console. Even though this error appears, the application runs properly, EXCEPT it won't download anything. All of the other functionality works. After the app is downloaded through TestFlight, if I run it and get the above error, if I kill the app and restart it, I don't get the error and the downloads work fine??
Ok here's what I've tried to do to fix it:
I deleted all provisioning profiles on developer.apple and on my machine and recreated them. After re-downloading the new provisioning profiles, I tried again - no luck.
Next, I added an Entitlements.plist file with the
get-task-allow
set tofalse
and set the Entitlements file for Ad Hoc builds. This also did nothing.
Does anyone have an idea?
Edit: Additionally, I have made a new version of the app and copied all of the files over under a new app id, made all new provisioning files, and it still didn't work.
The final thing I tried was making a wildcard ad hoc provisioning profile so that it would sign any app, and I still got the same error.
I really need to figure this out...