Today I wanted to submit my application builded on Mapbox Navigation SDK and all its dependencies. Sadly enough App Store Connect denies my upload every time because of the following error:
To make the SDK work, the documents said to enable the following background modes:
From now on in IOS13 Apple expects you to provide the identifiers for those modes. Only problem, I can't find them anywhere.
Can someone help me with this?
Steps to reproduce
Expected behavior
Completed the identifiers for the backgroundtask in info.plist that the app can archive and build to App Store Connect without any problem
Actual behavior
Localy the app runs without it, but when you want to upload it to App Store Connect, it requests those identifiers. Without those identifiers in info.plist it won't upload.
Configuration
** Mapbox SDK versions: pod 'MapboxNavigation', '~> 0.38.0' **
** iOS/macOS versions: iOS 13.1.3 (17A878) **
** Device/simulator models: Iphone XS Max iOS 13.1.3 (17A878) **
** Xcode version: Version 11.0 (11A420a) **
for Those who are searching Solution add These Lines in info.plist
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>
Looks like you’re confusing two things. You seem to have checked the new iOS 13 background mode Background Processing by mistake. Uncheck it. It is not any of the modes you said you needed.
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