GoogleMaps crashes on Xcode 9

I have been using GoogleMaps lib in my application since ancient times, but since I updated Xcode with Swift 4, when I switch to the map, my application crashes.

Error:

WARNING. Cannot find and download "GoogleMaps.bundle" for the Google Maps SDK for iOS. This may be a sign that you forgot to include the resource bundle in the "Copy Bundle Resources" build phase. Since this package contains important resources, you may encounter missing images, translations, and other abnormal behavior.

Why?

+4
source share
3 answers

I have the same problem. just delete the GoogleMaps folder in the Pods project, and then install pod install again.

+3

. Build: (Window Button) Command + alt option + Shift + K, . .

+3

Open your Xcode, click on Project Navigator. In the "Transitions" section   Pods/GoogleMaps/Maps.. In the folder "Maps" you can find 2 folders of type Frameworkand resources. Goto resourcesyou can find

GoogleMaps.bundle

just drag and drop into Project -> Target -> Build Phases -> Copy Bundle Resourcesselection.

during drapery, it asks Copy elements to the target groups folder.

0
source

Source: https://habr.com/ru/post/1686428/


All Articles