How to fix "App Store Connect Operation ERROR ITMS-90771"

IosXcodeApp Store

Ios Problem Overview


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

enter image description here

and this is what I have in my info.plist

enter image description here

How do I fix this?

Ios Solutions


Solution 1 - Ios

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

<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>

or if you use more than one BGTask then use this code

<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
	<string>com.yourCompanyName.appName1</string>
	<string>com.yourCompanyName.appName2</string>
</array>

Solution 2 - Ios

Or Even Better:

<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>

Best

Solution 3 - Ios

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,

info plist image

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

Solution 4 - Ios

Add "BGTaskSchedulerPermittedIdentifiers" to "info.plist" by paying attention to a few points.

  1. Open info.plist file
  2. Add "Permitted background task scheduler identifiers" below the "Information Property List".(Using add (+) button)

Add "Permitted background task scheduler identifiers"

  1. Add a new item below "Permitted background task scheduler identifiers". (Make sure the arrow is pointing down i mean, it is not like that ">")

Add a new item

  1. Enter your bundleID as a value.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMustafa AljaburiView Question on Stackoverflow
Solution 1 - IosBijender Singh ShekhawatView Answer on Stackoverflow
Solution 2 - IosmgykyView Answer on Stackoverflow
Solution 3 - IosShreeram BhatView Answer on Stackoverflow
Solution 4 - IosCagriKView Answer on Stackoverflow