自2天前以來,一個或一些SKMaps/Skobbler地圖服務器似乎已關閉。這只是我還是更多的人遇到這種情況?如果只是我,我會如何解決這個問題。SKMaps/Skobbler地圖服務器向下
我正在從SKMaps Framework版本2.5.1更新我的iOS應用程序到3.0。其中還包括更新的地圖。我有我的應用程序與3.0工作。然後我也開始更新我的應用程序到Swift 3.0並更新到Xcode 8.0。自那以後一直無法工作。它運行,但地圖服務器似乎無法訪問。我不確定是否可以更新Swift3/Xcode8。
** 更新: 我現在嘗試不更新地圖版本(所以繼續使用201504地圖),一切工作正常。所以它似乎沒有更新到Swift3/Xcode8。看來201604地圖的地圖服務器正在發揮作用。 **
上週有一些確認的地圖服務器問題,但是they were resolved。不確定是否再次發生該問題?
基本上我的應用程序在這一刻是無用的。 MetaData無法下載,未檢索/顯示在線地圖圖塊,離線地圖包可能無法下載,搜索不起作用,在線路線計算不起作用等。
這裏是最有說服力的控制檯日誌片。試圖下載與離線地圖區域的JSON當我得到這個:
[AnyHashable("Content-Type"): application/xml, AnyHashable("Connection"): keep-alive, AnyHashable("Date"): Wed, 21 Sep 2016 17:51:58 GMT, AnyHashable("X-Amz-Cf-Id"): zBW5kFdCN-9fhZnpj8WyeL7CCx2eEEixO9BPIDGbyJHxqAuFa8gf9Q==, AnyHashable("Transfer-Encoding"): Identity, AnyHashable("Server"): AmazonS3, AnyHashable("Via"): 1.1 01448657fc099ab201797422a6a02be2.cloudfront.net (CloudFront), AnyHashable("X-Cache"): Error from cloudfront]
當試圖下載在框架初始化的元文件,我得到這個:
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/roads
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/roads
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/attributes
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/attributes
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/elevations
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/elevations
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/version.txt
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/version.txt
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/bikeAttributes
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/bikeAttributes
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/shapes
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/shapes
the resource not found: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/pois
offline mode, the resource cannot be downloaded: /Users/guido/Library/Developer/CoreSimulator/Devices/1CF279C5-7F13-4379-A1C2-268C290D0B56/data/Containers/Data/Application/44D9119E-6DF3-4133-92F0-DF738199826B/Library/Caches/maps/v1/20160426/meta/pois
我敢肯定,我有聯繫並且我確定我處於在線模式,因爲這是我的框架初始化代碼:
let initSettings: SKMapsInitSettings = SKMapsInitSettings()
initSettings.mapDetailLevel = SKMapDetailLevel.Light // Same thing if I change this to .Full
initSettings.connectivityMode = SKConnectivityMode.Online
initSettings.showConsoleLogs = true
SKMapsService.sharedInstance().initializeSKMapsWithAPIKey(SKMapsAPIKey, settings: initSettings)
3.0版本還沒有「光照」貼圖 - 這是導致問題的原因。請切換到使用「完整」地圖 – Ando