自2天前以来,一个或部分SKMaps / Skobbler地图服务器似乎已关闭。这只是我还是更多的人经历这个?如果它只是我的任何帮助将不胜感激,我将如何解决这个问题。
我将我的iOS应用从SKMaps Framework版本2.5.1更新为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)
答案 0 :(得分:1)
找到它。它很可能是Skobbler' light / v1 / 20160426' API端点。
与Skobbler的开发人员保持联系,想象他们会很快解决这个问题。