From a429991a150e7e297d9e9afd303cf6210913b234 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Tue, 9 Jul 2019 10:38:40 -0700 Subject: [PATCH] Remove CoocaPods support from layers example app (#35780) --- examples/layers/ios/Flutter/Debug.xcconfig | 1 - examples/layers/ios/Flutter/Release.xcconfig | 1 - examples/layers/ios/Podfile | 38 ------------------- .../contents.xcworkspacedata | 3 -- .../contents.xcworkspacedata | 3 -- 5 files changed, 46 deletions(-) delete mode 100644 examples/layers/ios/Podfile diff --git a/examples/layers/ios/Flutter/Debug.xcconfig b/examples/layers/ios/Flutter/Debug.xcconfig index 9803018ca7..592ceee85b 100644 --- a/examples/layers/ios/Flutter/Debug.xcconfig +++ b/examples/layers/ios/Flutter/Debug.xcconfig @@ -1,2 +1 @@ #include "Generated.xcconfig" -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" diff --git a/examples/layers/ios/Flutter/Release.xcconfig b/examples/layers/ios/Flutter/Release.xcconfig index a4a8c604e1..592ceee85b 100644 --- a/examples/layers/ios/Flutter/Release.xcconfig +++ b/examples/layers/ios/Flutter/Release.xcconfig @@ -1,2 +1 @@ #include "Generated.xcconfig" -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" diff --git a/examples/layers/ios/Podfile b/examples/layers/ios/Podfile deleted file mode 100644 index 74b3de0649..0000000000 --- a/examples/layers/ios/Podfile +++ /dev/null @@ -1,38 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '9.0' - -if ENV['FLUTTER_FRAMEWORK_DIR'] == nil - abort('Please set FLUTTER_FRAMEWORK_DIR to the directory containing Flutter.framework') -end - -target 'Runner' do - use_frameworks! - - # Pods for Runner - - # Flutter Pods - pod 'Flutter', :path => ENV['FLUTTER_FRAMEWORK_DIR'] - - if File.exists? '../.flutter-plugins' - flutter_root = File.expand_path('..') - File.foreach('../.flutter-plugins') { |line| - plugin = line.split(pattern='=') - if plugin.length == 2 - name = plugin[0].strip() - path = plugin[1].strip() - resolved_path = File.expand_path("#{path}/ios", flutter_root) - pod name, :path => resolved_path - else - puts "Invalid plugin specification: #{line}" - end - } - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['ENABLE_BITCODE'] = 'NO' - end - end -end diff --git a/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 21a3cc14c7..1d526a16ed 100644 --- a/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/examples/layers/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -4,7 +4,4 @@ - - diff --git a/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata b/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata index 21a3cc14c7..1d526a16ed 100644 --- a/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata +++ b/examples/layers/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -4,7 +4,4 @@ - -