From 9751f3e537c301546798c9897f1ae91071c62eeb Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Thu, 6 Jun 2019 12:43:37 -0700 Subject: [PATCH] Add use_frameworks to macOS Podfile template (#33987) This wasn't included originally since it didn't seem to be necessary for macOS in testing, but not having it breaks Swift plugins. This matches the iOS Swift Podfile template. --- packages/flutter_tools/templates/cocoapods/Podfile-macos | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flutter_tools/templates/cocoapods/Podfile-macos b/packages/flutter_tools/templates/cocoapods/Podfile-macos index ec3967f31c..ddc00d9dfa 100644 --- a/packages/flutter_tools/templates/cocoapods/Podfile-macos +++ b/packages/flutter_tools/templates/cocoapods/Podfile-macos @@ -46,6 +46,8 @@ def pubspec_supports_macos(file) end target 'Runner' do + use_frameworks! + # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock # referring to absolute paths on developers' machines. ephemeral_dir = File.join('Flutter', 'ephemeral')