xcode - Podfile PXGoogleDirections and GoogleMaps conflicting names -
i'm trying install new pod (pxgoogledirections) existing xcode project had googlemaps pod installed.
platform :ios, '8.0' use_frameworks! target 'roadtrip' pod 'googlemaps' pod 'pxgoogledirections' end target 'roadtriptests' end target 'roadtripuitests' end
when run "pod install" i'm getting error: "[!] 'project' target has frameworks conflicting names: googlemaps."
any idea how can fix that?
i've tried use same googlemaps version pxgoogledirections uses, so:
pod 'googlemaps', '1.10.4'
but i'm getting same error.
thanks help.
this because pxgoogledirections
bundled googlemaps
. in documentation of pxgoogledirections
says way use googlemaps it. check
if app requires google maps ios sdk, might run troubles because of conflicts bundled google maps ios sdk in cocoapod. if happen face these problems, please try following:
add -framework "googlemaps" "other linker flags" of xcode project. make sure linking app libraries , frameworks required google maps ios sdk. full list, see here: https://github.com/cocoapods/specs/blob/master/specs/googlemaps/1.10.4/googlemaps.podspec.json make sure app contains googlemaps.bundle in "copy bundle resources" phase of build process. if doesn't, can manually add xcode browsing following directory in finder: /pods/pxgoogledirections/dependencies/googlemaps.framework/resources/googlemaps.bundle. drop in "frameworks" group of project , uncheck "copy" checkbox.
direct link https://github.com/poulpix/pxgoogledirections#in-case-of-problems
Comments
Post a Comment