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?
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>
<key>BGTaskSchedulerPermittedIdentifiers</key> <array> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> </array>
Best
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With