Go back to dependency plugin.
Because CocoaPod does not work for some people, and it is difficult to explain for beginners.
MODIFY
plugin.xml
plugin.xml
</array>
</config-file>
- <podspec>
- <config>
- <source url="https://github.com/CocoaPods/Specs.git"/>
- </config>
- <pods>
- <pod name="GoogleMaps" spec="~> 3.1.0"/>
- </pods>
- </podspec>
- <!-- Use for Cordova 8.x users -->
- <!--
- <framework src="GoogleMaps" type="podspec" spec="~> 2.7.0" />
- -->
+ <dependency id="com.googlemaps.ios" url="https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk" />
<hook type="before_platform_add" src="src/ios/check_sdk_version.js"/>
<hook type="before_plugin_install" src="src/ios/check_sdk_version.js"/>

Go back to dependency plugin.
Because CocoaPod does not work for some people, and it is difficult to explain for beginners.