Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
[xdl] Add HAVE_GOOGLE_MAPS=1 preprocessor definiton for expo/expo#4158
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchmiela committed May 10, 2019
1 parent 2fc836a commit d87892e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/xdl/src/detach/IosPodsTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ function _renderDetachedPostinstall(sdkVersion, isServiceContext) {
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'EX_DETACHED=1'
${maybeDetachedServiceDef}
# needed for GoogleMaps 2.x
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'HAVE_GOOGLE_MAPS=1'
config.build_settings['FRAMEWORK_SEARCH_PATHS'] ||= []
config.build_settings['FRAMEWORK_SEARCH_PATHS'] << '${podsRootSub}/GoogleMaps/Base/Frameworks'
config.build_settings['FRAMEWORK_SEARCH_PATHS'] << '${podsRootSub}/GoogleMaps/Maps/Frameworks'
Expand Down

0 comments on commit d87892e

Please sign in to comment.