App “does not contain the correct beta entitlement”

前端 未结 14 1903
故里飘歌
故里飘歌 2020-11-27 12:47

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 b

相关标签:
14条回答
  • 2020-11-27 12:55

    Regenerate all your provisioning profiles, fixes the problem 100%

    0 讨论(0)
  • 2020-11-27 12:57

    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

    0 讨论(0)
  • 2020-11-27 12:57

    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.

    0 讨论(0)
  • 2020-11-27 13:00

    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>
    
    0 讨论(0)
  • 2020-11-27 13:00

    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

    0 讨论(0)
  • 2020-11-27 13:03

    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

    0 讨论(0)
提交回复
热议问题