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 to false
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...
Upload keychain and provisioning profile files sectionClick on "Choose File" and select the keychain or provisioning profile file. 2. Click on "Upload". The keychain or provisioning profile file is automatically uploaded and stored on the jenkins.
A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.
APS Environment (macOS) Entitlement. The environment for push notifications in macOS apps. Key: com.apple.developer.aps-environment. com.apple.developer.usernotifications.filtering. Enable receiving notifications without displaying the notification to the user.
It sounds like the app name, com.whatever.whatever, isn't an exact match with the app name in the provisioning profile.
If that's the problem, you'll need to make them match. The provisioning profile refers to an app id which has a bundle name. Your build settings probably has a variable called PRODUCT_NAME. You can either create a new app id to match your project, or - probably easier - change your project's product name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With