2016-11-13 1 views
0

Ich arbeite an nativen Google Maps mit CN1 Java App. Es funktioniert OK auf Android und CN1 Simulator, schlägt aber auf dem echten iPhone fehl. Das Folgende ist Teil des Systemprotokolls.Google Maps auf iOS-Fehler: ist abhängig von Legacy On-Demand-Autorisierung, die für neue Anwendungen nicht unterstützt wird


    Nov 12 23:57:56 My-iPhone6spou locationd[64] : getClientEffectiveRegistrationResult, /private/var/containers/Bundle/Application/C483CD2D-48BB-4EB3-8AD6-440FE1C4C651/MyMaps.app/MyMaps, com.company.cn1.maps, , CLClientRegistrationResult, kCLClientRegistrationResultFailedUnavailable, CLCommonLocationServicesEnabled, 1 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : message 'kCLConnectionMessageLocation' received from client 'com.company.cn1.maps' 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : Client com.company.cn1.maps (0x10283ae00) is unsubscribing to notification kCLConnectionMessageLocation 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : Client com.company.cn1.maps (0x10283ae00) is unsubscribing to notification kCLConnectionMessageLocationUnavailable 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : client 'com.company.cn1.maps' unsubscribing from location 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : ClxClient, unsubscribe, 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : message 'kCLConnectionMessagePausesLocationUpdatesAutomatically' received from client 'com.company.cn1.maps' 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : message 'kCLConnectionMessageLocation' received from client 'com.company.cn1.maps' 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : ERROR: com.company.cn1.maps is depending on legacy on-demand authorization, which is not supported for new apps 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : Client com.company.cn1.maps (0x10283ae00) is subscribing to notification kCLConnectionMessageLocation 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : ERROR: com.company.cn1.maps is depending on legacy on-demand authorization, which is not supported for new apps 
    Nov 12 23:57:56 My-iPhone6spou locationd[64] : Client com.company.cn1.maps (0x10283ae00) is subscribing to notification kCLConnectionMessageLocationUnavailable 

Antwort

1

Haben schließen Sie die Build-Hinweis ios.locationUsageDescription als here beschrieben?

Es ist auch in der Location API JavaDocs erwähnt.

+0

Es funktioniert nach dem Hinzufügen dieses Hinweises. – youseeme

Verwandte Themen