问题
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 this?
回答1:
Add this in your info.plist and then resubmit your app
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.yourCompanyName.appName</string>
</array>
回答2:
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 plist file. Hover over any item + button will be highlighted. Click on it add a new item.
- Copy and paste "BGTaskSchedulerPermittedIdentifiers" under Information Property List column. This will create an array in Type column.
- Click add button on the item you just created to add back ground task identifiers for the array.
- Note that it is recommended by apple to mention task back ground task identifier in reverse domain notation(com.something.name).
At the end it will look like this,
For more info you can refer this Apple doc.
来源:https://stackoverflow.com/questions/57927881/how-to-fix-app-store-connect-operation-error-itms-90771