Skip to content

Commit 568ce2e

Browse files
authored
Add static_framework to Google Maps pod (flutter#601)
1 parent 8a33c2a commit 568ce2e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/google_maps_flutter/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
);
294294
inputPaths = (
295295
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
296-
"${PODS_ROOT}/.symlinks/flutter/ios/Flutter.framework",
296+
"${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework",
297297
);
298298
name = "[CP] Embed Pods Frameworks";
299299
outputPaths = (

packages/google_maps_flutter/ios/google_maps_flutter.podspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ A new flutter plugin project.
1616
s.public_header_files = 'Classes/**/*.h'
1717
s.dependency 'Flutter'
1818
s.dependency 'GoogleMaps'
19-
# Alternatively to the flag: use GoogleMaps as a static framework.
20-
s.compiler_flags = '-fno-modules'
19+
s.static_framework = true
2120
s.ios.deployment_target = '8.0'
2221
end

0 commit comments

Comments
 (0)