2012-10-08 86 views
2

我們爲6個月前的客戶創建了一個應用程序,用於生成地圖的客戶端,然後將引腳放置在特定位置。這些針腳代表客戶的過去項目位置......這一切都是使用Mapkit和Google地圖完成的......我假設問題出在哪裏?Google的Google地圖轉換

現在,當應用程序打開屏幕是黑色的,大約20秒後,應用程序將崩潰......當我們在xcode中將應用程序構建到設備上時,它不會生成任何錯誤代碼,所以我不知道該怎麼做要解決它嗎?

我可以直接構建到設備上,並且蘋果地圖的加載速度很慢。但是當我斷開xcode並嘗試打開該應用程序時,它從未出現並崩潰 我知道蘋果映射報告了很多問題。 ..我認爲這是造成這個問題的原因......問題是我仍然可以使用Google地圖嗎?還是有什麼我失蹤與蘋果地圖?

這裏的是什麼在控制檯

Oct 8 12:15:21 iPad locationd[40] : notify name "com.apple.locationd.DumpDiagnostics" has been registered 20 times - this may be a leak Oct 8 12:15:25 iPad locationd[40] : Location icon should now be in state 'Active' Oct 8 12:15:25 iPad kernel[0] : launchd[2833] Builtin profile: container (sandbox) Oct 8 12:15:25 iPad kernel[0] : launchd[2833] Container: /private/var/mobile/Applications/AB86A47D-1D6A-4CD4-8E8F-4BE09907A0C3 (sandbox) Oct 8 12:15:26 iPad locationd[40] : NETWORK: requery, 0, 0, 33, 0, items, fQueryRetries, 0, fLastRetryTimestamp, 371405504.4 Oct 8 12:15:26 iPad locationd[40] : NETWORK: query, cells, 0, 0, 33, wifis, 0 Oct 8 12:15:44 iPad backboardd[51] : com.Virtusventures.Mapin failed to launch in time Oct 8 12:15:44 iPad backboardd[51] : Forcing crash report of Mapin[2833]... Oct 8 12:15:45 iPad backboardd[51] : Finished crash reporting. Oct 8 12:15:45 iPad com.apple.launchd[1] (UIKitApplication:com.Virtusventures.Mapin[0x696][2833]) : (UIKitApplication:com.Virtusventures.Mapin[0x696]) Exited: Killed: 9 Oct 8 12:15:45 iPad backboardd[51] : Application 'UIKitApplication:com.Virtusventures.Mapin[0x696]' exited abnormally with signal 9: Killed: 9 Oct 8 12:15:45 iPad ReportCrash[2834] : libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary Oct 8 12:15:45 iPad ReportCrash[2834] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Mapin_2012-10-08-121544_iPad.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0 Oct 8 12:15:55 iPad locationd[40] : Location icon should now be in state 'Inactive'

當我沒有建設到設備,只是試圖打開該應用

Oct 8 12:38:48 ipad geod[1066] : /SourceCache/GeoServices/GeoServices-457.9/GEOResourceManifestServerLocalProxy.m:1072 connection error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1ed36780 {NSErrorFailingURLStringKey=http://gspa21.ls.apple.com/config/prod-resources-lodpi-18, NSErrorFailingURLKey=http://gspa21.ls.apple.com/config/prod-resources-lodpi-18, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x1ed3d450 "The request timed out."}

回答

0

您的應用這就是顯示生成沒有及時啓動,正在被監視計時器殺死。

從日誌:

Mapin failed to launch in time Oct 8 12:15:44 iPad backboardd[51] : Forcing crash report of Mapin[2833]...

你可能需要漫長的啓動任務移動到後臺線程。

+0

是的問題是爲什麼?它使用谷歌地圖工作了幾個月,我們之前使用過MapKit,現在唯一的區別應該是正在顯示的地圖。 – Monergy

+0

也許蘋果的地圖/位置服務基礎設施的穩健性不如谷歌,導致更長的加載時間? – Marco

+0

我也只是建立它到運行ios 5的設備,它工作正常(再次使用谷歌地圖) – Monergy