Программируем под IOS
-
Anonymous
Исключение: Google Maps SDK для iOS необходимо инициализировать с помощью [GMSServices ProvideAPIKey:...] перед использо
Сообщение
Anonymous »
Я пытаюсь внедрить Google Maps SDK в свой проект с помощью Swift 2.0. Я следую этому, но при запуске моего приложения появляется следующая ошибка:
Код: Выделить всё
2015-08-25 19:05:17.337 googleMap[1919:54102] *** Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use
*** First throw call stack:
(
0 CoreFoundation 0x00000001058499b5 __exceptionPreprocess + 165
...
...
...
31 UIKit 0x000000010606699e UIApplicationMain + 171
32 googleMap 0x00000001034b720d main + 109
33 libdyld.dylib 0x0000000107fba92d start + 1
34 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Я испробовал все возможные решения из StackOverflow.
Подробнее здесь:
https://stackoverflow.com/questions/322 ... -provideap
1736013084
Anonymous
Я пытаюсь внедрить Google Maps SDK в свой проект с помощью Swift 2.0. Я следую этому, но при запуске моего приложения появляется следующая ошибка:
[code]2015-08-25 19:05:17.337 googleMap[1919:54102] *** Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use
*** First throw call stack:
(
0 CoreFoundation 0x00000001058499b5 __exceptionPreprocess + 165
...
...
...
31 UIKit 0x000000010606699e UIApplicationMain + 171
32 googleMap 0x00000001034b720d main + 109
33 libdyld.dylib 0x0000000107fba92d start + 1
34 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[/code]
Я испробовал все возможные решения из StackOverflow.
Подробнее здесь: [url]https://stackoverflow.com/questions/32205872/exceptiongoogle-maps-sdk-for-ios-must-be-initialized-via-gmsservices-provideap[/url]