Missing application content routing but not required?

Am I submitting my application to an application store that uses location services (GPS point) and MKPinAnnotations and doesnโ€™t use anything for the map, and I look from what I researched that the routing coverage file is used for overlays?

I donโ€™t think I need a routing coverage file, but when I go to publish, errors in xcode indicate that it is missing from iTunes.

The category for the application is utilities. It was also navigation, but I did not want to hope that this would solve the problem, and it was not.

How can I get around this?

+4
source share
2 answers

I had the same problem earlier when you tried to publish an application using MapKit but not offering routing capabilities. I solved this by removing all supported routing modes in the "{Target] โ†’ Capabilities โ†’ Maps" section. If you just look at the Info.plist file, you can remove the MKDirectionsApplicationSupportedModes key and the CFBundleTypeName key equal to MKDirectionsRequest .

 <key>CFBundleDocumentTypes</key> <array> <dict> <!--Remove both of these key/value pairs --> <key>CFBundleTypeName</key> <string>MKDirectionsRequest</string> <key>LSItemContentTypes</key> <array> <string>com.apple.maps.directionsrequest</string> </array> </dict> </array> 

and

 <key>MKDirectionsApplicationSupportedModes</key> <array> <string>MKDirectionsModeBike</string> <string>MKDirectionsModeBus</string> <string>MKDirectionsModeCar</string> <string>MKDirectionsModeFerry</string> <string>MKDirectionsModeOther</string> <string>MKDirectionsModePedestrian</string> <string>MKDirectionsModePlane</string> <string>MKDirectionsModeStreetCar</string> <string>MKDirectionsModeSubway</string> <string>MKDirectionsModeTaxi</string> <string>MKDirectionsModeTrain</string> </array> 

enter image description here

+9
source

disable the ability of the card to solve my problem,

xcode - next to the common click, you should see the capabilities tab,

scroll down to the map section, turn it off,


general tab, change your build and version different from the last,

reload into the app store.

This time it will not request a routing profile coverage file,

Done.

0
source

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


All Articles