How to fix “App Store Connect Operation ERROR ITMS-90771”

后端 未结 2 1620
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 06:10

I\'m trying to submit my app to TestFlight, but I keep getting this error.

and this is what I have in my info.plist

How do I fix

相关标签:
2条回答
  • 2021-02-02 06:56

    Add this in your info.plist and then resubmit your app

    <key>BGTaskSchedulerPermittedIdentifiers</key>
    <array>
        <string>com.yourCompanyName.appName</string>
    </array>
    
    0 讨论(0)
  • 2021-02-02 06:58

    As it says you need to add "BGTaskSchedulerPermittedIdentifiers" to your info.plist. You have turned on background task capabilities for your app but did not add corresponding identifiers.

    1. Goto your Info.plist file. Hover over any item + button will be highlighted. Click on it to add a new item.
    2. Copy and paste "BGTaskSchedulerPermittedIdentifiers" under the Information Property List column. This will create an array in the Type column.
    3. Click the add button on the item you just created to add background task identifiers for the array.
    4. Note that it is recommended by apple to mention task background task identifier in reverse domain notation(com.something.name).

    In the end, it will look like this,

    For more info, you can refer to this Apple doc.

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