Incorrect background error message when sending to the App Store

I have a problem sending the application to the application store. My application wants to run in the background, so I set the application registers to determine the location in the desired relief array in the register. When I try to upload to the app store, the following error message appears:

Invalid UIBackgroundModes: UIBackgroundmodes key contains invalid value

+6
source share
2 answers

You should open your info.plist applications in a text editor, find the background modes section and see if there is something strange or not. If you can't figure it out, just post the content of plist in your question.

+8
source

Sorry, I can’t comment, so I want to clear my request.

My app should run in the background for push notification and location.

I faced the same problem and I can’t understand what is wrong with that.

enter image description here

thanks

Updated: Then I found that removing the "Location" attribute, which was manually added, was not required after adding to the features section. (For newer versions of Xcode, this provision is provided in the Features section in the background to configure that your application uses the background for location, push notification, etc.)

+3
source

Source: https://habr.com/ru/post/907281/


All Articles