How to fix "App Store Connect Operation ERROR ITMS-90771"
IosXcodeApp StoreIos Problem Overview
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.
- Goto your Info.plist file. Hover over any item + button will be highlighted. Click on it to add a new item.
- Copy and paste "BGTaskSchedulerPermittedIdentifiers" under the Information Property List column. This will create an array in the Type column.
- Click the add button on the item you just created to add background task identifiers for the array.
- 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.
Solution 4 - Ios
Add "BGTaskSchedulerPermittedIdentifiers" to "info.plist" by paying attention to a few points.
- Open info.plist file
- Add "Permitted background task scheduler identifiers" below the "Information Property List".(Using add (+) button)
Add "Permitted background task scheduler identifiers"
- Add a new item below "Permitted background task scheduler identifiers". (Make sure the arrow is pointing down i mean, it is not like that ">")
- Enter your bundleID as a value.