App "does not contain the correct beta entitlement"
Asked Answered
P

14

78

I submitted an application for review and I notice that the build that I submitted has an issue associated with it saying that Build 168 does not contain the correct beta entitlement. I wasn't able to find information on this error anywhere. What does it mean and will it inhibit the review process? My app was submitted today with Xcode 5.1.1 for iOS 7 (not the Xcode GM). Perhaps this relates to Testflight?

App does not contain the correct beta entitlement

Planish answered 10/9, 2014 at 3:1 Comment(4)
the solution porvided in the following Question https://mcmap.net/q/196967/-app-quot-does-not-contain-the-correct-beta-entitlement-quotOneidaoneil
Ahhhhhhhhhh! Re-create provisioning don't resolve problem alsoDrinker
Hi@Aaron.. i am getting the same warning. Can you tell me does applecan reject my app if I don't fix this warning?Nureyev
@Nureyev They will not reject it.Planish
B
51

Please regenerate your provisioning profile. It will Fix this problem it's because the missing entitlement is now there beta-reports-active = 1 enter image description here

After creating the new provisioning profile, make sure the entitlement is there.

Here is how it should look like when you click in Organizer "Export.." -> "Save for iOS App Store Deployment":

enter image description here

Batwing answered 10/9, 2014 at 7:13 Comment(14)
Do you need to re-upload your binary file after regenerating the provisioning profile?Epiclesis
@usr55410 The binary has to be re-signed, so yes.Planish
This worked for me. Had to go in to each one and click edit -> generate. Then deleted all old ones from my machine and added the new ones. Definitely a pain but regenerating worked.Stray
@youshunei Make sure to delete the old ones and explicitly make new ones.Planish
@AaronWojnowski Thanks for suggestion. Delete old provisioning is worked.Drinker
Does this work with AdHoc provisioning profiles? I regenerated and I'm still getting the warning.Baleen
Hi all.. i am getting the same warning. Can you tell me does applecan reject my app if I don't fix this warning?Nureyev
Yep, worked for us too, deleted old ones and added new. And yes, seems we had to re-submit the binary.Brotherhood
I'm still having the same problem, and I delete all provisioning profiles from the dev portal and local machine, and still no beta-reports-active is found, and TestFlight still does not work.Gauntry
@Batwing What file is this and how do I view it to confirm? thanks in advance.Unpromising
@Mr Rogers: had the same issue and chose to export my IPA for App Store to get the missing entitlement. The entitlement is not added if you select AdHoc.Perloff
Do any contained Today extensions have to have the beta-reports-active flag to work with TestFlight as well?Darciedarcy
@Unpromising Here is how it should look like when you click in Organizer "Export..." -> "Save for iOS App Store Deployment": I am updating the answer too please look into itBatwing
this answer does not helps me. I have the same issue, but regenerating the profile dont help. what are the exact step to do ? create a provisionning for what ? dev or distri ? after that what to choose ? ad hoc , distri or dev ? (thanks apple for making clear interfaces :) ) I tested all and the beta-reports-active still not presentBusinessman
S
45

Apple gave us a little surprise yesterday without telling us. There is a new entitlement that is added when you regenerate your distribution certificate. When you regenerate, as others said, it should fix your problem. It's not due to magic though, it's because the missing entitlement is now there beta-reports-active = 1

enter image description here

Once you download your new provisioning profile, make sure the entitlement is there, rebuild your IPA and this warning should finally go away. If you manage your own Entitlements.plist be sure to include this new key.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>aps-environment</key>
        <string>production</string>
        <key>get-task-allow</key>
        <false/>
        <key>beta-reports-active</key>
        <true/>
        <key>application-identifer</key>
        <string>bkahblahblah</string>
    </dict>
</plist>
Skewer answered 10/9, 2014 at 4:16 Comment(9)
I managed to submit the app just fine. Just a little worried about the warning on the build.Planish
@AaronWojnowski i think you are fine. Just bad design by apple.Skewer
Yeah I imagine I would just have to provision it differently to be compatible with Testflight and this isn't related to the actual App Store distribution. Would suck if it is though, and I had to go through the review queue again to find out.Planish
I know it's not your issue, but if you had to take a best guess, what do you think apple is trying to say here? The docs they link are old. What is the correct "beta entitlement"? So confusing o_OSkewer
I imagine you have to sign it with a special (read: new) provisioning profile. That would be my best guess. However, when I try to generate new ones, it doesn't mention beta entitlements at all so that guess may be out in left field.Planish
That's what I thought ಠ_ಠ, now i'm actually tinkering with entitlements to see if i can get it to budge.Skewer
I got excited when I saw this because it makes sense, but I both regenerated my distribution cert and all of my provisioning profiles and the new provisioning profiles don't don't include any mention of the beta-reports-active flag.Favor
I also have problems with the beta-reports-active. I tried regenerate many times, but there is no such flag.Test
Please make sure you guys make new "DISTRIBUTION PROFILE", it wont works on AdHoc profiles. <key>beta-reports-active</key> available only on DISTRIBUTION PROFILES.Rowles
P
25

Yes, you need to recreate provisioning profile and one more important thing is that you need to provision your app with App Store distribution provisioning profile.

Here is how it should look like when you click in Organizer "Export..." -> "Save for iOS App Store Deployment": enter image description here

You can also convert .mobileprovision file to .xml with that command to see if there really is a beta-reports-active key in your entitlements.

security cms -D -i YourProfile.mobileprovision > YourProfile.xml

Pliny answered 6/10, 2014 at 17:51 Comment(2)
I was exporting my app for ad hoc, not the app store. Once I set the app to export for the app store, only then did the beta-reports-active get set to 1.Pignus
just to emphasis MAKE THE PROVISIONING PROFILE FOR APP STORE DISTRIBUTIONCufic
P
18

You need to recreate provisioning profile (as everyone suggested), however you also need to distribute the IPA with an "App Store" distribution profile. If you're used to the old TestFlight distribution methods, you're probably signing the package with an "Ad Hoc" profile instead.

enter image description here

Presocratic answered 8/10, 2014 at 23:30 Comment(2)
Deleting the profiles didn't work. This option worked for me. Even, while distributing for AdHoc, you have to choose Submit to the iOS storeBrynne
Yeah this is what worked for me as well. The thing I missed was that you needed app store provisioning… makes sense, kinda… :)Eutrophic
R
4

There are two step here:

  1. Regenerate your provisioning profiles. Especially the AppStore provisioning profile to make sure the beta entitlement is there.
  2. Archive and export your build by selecting the option "Save for iOS App Store Deployment"

enter image description here

Some of the mistakes comes from exporting the archive using the AdHoc deployment.

I bet Apple might remove AdHoc deployment in the future since TestFlight Beta Testing using AppStore builds serves the purpose.

Hope this helps.

Rabideau answered 10/7, 2015 at 2:38 Comment(0)
H
2

I just tried submitting a new build of my app using Xcode 6. It complains about the invalid provisioning profiles that I have for the built app. So I regenerated the provisioning profiles at Apple Developer website and import them in Xcode 6. Uploaded the new built binary using the new provisioning profiles and submitted for review. The new provisioning profiles includes beta entitlements that I think iTunes Connect is complaining about. Hopefully it will not complain about the beta entitlements later.

Hubbell answered 10/9, 2014 at 4:41 Comment(0)
S
2

For all it's worth I was using the Application Loader to upload the app and I never managed to get it to work (Application loader version 3.0 (620)). Once I tried using xCode via the Archive method things worked great. You can also tell if the Beta entitlement is present before submission.

enter image description here

Streetcar answered 11/4, 2015 at 3:49 Comment(3)
uploading the application via Application loader Version 3.0 (620) don't include beta-reports-active but via xcode it workedGalling
@Yahia, that's what I said above. Thanks for validating that it's not only me :)Streetcar
@Streetcar I can confirm this problem persists. It is so annoying.Underplot
C
1

Regenerate all your provisioning profiles, fixes the problem 100%

Caskey answered 10/9, 2014 at 7:31 Comment(0)
L
1

I was also facing same issue but suddenly the message in the itunesconnect got changed to "To use TestFlight Beta Testing, this build must contain the correct beta entitlement. For more information, see the(Link)" in the prerelease section.

With TestFlight Beta Testing, you can distribute your prerelease builds to testers to collect feedback and prepare your app for release in the App Store. TestFlight Beta Testing is optional; you can submit your app for review without using it.

Ref: here

Lichee answered 25/9, 2014 at 9:45 Comment(0)
S
0

Actually you can still choose the uploaded "error" build and submit for review. The status will be changed to "waiting for review".

Sarracenia answered 12/9, 2014 at 8:1 Comment(1)
This is because the warning indicates that you're missing an entitlement which blocks the possibility to distribute this build to the internal testers. But it doesn't mean the signing is wrong for App Store distribution.Inexplicable
B
0

I have also faced the same issue and resolved it by below mentioned steps

1.Create the Appstore Provisioning Profile and use that profile for Generating the ipa so that beta entitlement for the ipa will be enabled.

For the rest of the profiles the beta entitlement will be false

Baileybailie answered 10/3, 2015 at 8:47 Comment(0)
P
0

I use Jenkins to make both Ad Hoc and App Store builds. In this case simply regenerating the distribution provisioning profile didn't help, because the app still missed the "beta-reports-active" entitlement.

I tried adding that entry to the custom entitlements file, used for building the application. This fixed the problem for submitting the app in iTunes Connect, but made the Ad Hoc builds invalid - they failed to install on my devices.

After all I ended up with two custom entitlements files, one with "beta-reports-active" entry and one without it. Jenkins builds the app without beta reports entry and signs it with the Ad Hoc profile to produce an ipa file for in-house testing. Then it resigns the app with the other entitlements file for App Store distribution.

Polytheism answered 22/5, 2015 at 13:26 Comment(0)
L
0

I got same issue. After regenerating provisioning profiles I again got same issue. Then I uploaded binary via Xcode and it solved the issue.

It seems like issue is with Application Loader. Use Xcode to upload the binary.

Liberty answered 4/8, 2015 at 14:43 Comment(0)
P
0

In XCode, select the Target and go to the Capabilities tab. Look for any "Fix Issue" links. If you can't find any, try toggling a capability (say Wallet) on and off again to regenerate your entitlements file.

Pouliot answered 18/11, 2015 at 12:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.