Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid background modes error message when submitting to the App Store

I have an issue with submitting my app to the app store. My app wants to run in the background, so I have set "App registers for location updates in required back ground modes" array in the plist. When I try to upload to the app store, I am getting the following error message:

Invalid UIBackgroundModes: the UIBackgroundmodes key contains an invalid value

like image 593
karthick Avatar asked Jan 31 '12 05:01

karthick


2 Answers

You should open your apps info.plist in Text Edit, find the background modes section and see if there is anything strange or off about it. If you can't figure it out from there just post the contents of the plist in your question.

like image 119
Michael Frederick Avatar answered Oct 13 '22 00:10

Michael Frederick


sorry i can not comment so i want to clear my query on this.

My app need to work in background mode for push notification & location.

I am facing same issue & i am unable to get what is wrong in this.

enter image description here

Thanks

Updated: I then found that Removing the "Location" attribute which was added manually which was not required once added in capabilities section. (for new versions of Xcode the provision is given in capabilities section under background mode to configure that your app is using background mode for location, push notification etc.)

like image 23
Nandkishor Chaudhari Avatar answered Oct 12 '22 23:10

Nandkishor Chaudhari