diff --git a/packages/android_alarm_manager/example/ios/.gitignore b/packages/android_alarm_manager/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/android_alarm_manager/example/ios/.gitignore +++ b/packages/android_alarm_manager/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/android_alarm_manager/example/ios/Podfile b/packages/android_alarm_manager/example/ios/Podfile deleted file mode 100644 index 128cf19d405c..000000000000 --- a/packages/android_alarm_manager/example/ios/Podfile +++ /dev/null @@ -1,50 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '9.0' - -def parse_KV_file(file,seperator='=') - file_abs_path = File.expand_path(file) - if !File.exists? file_abs_path - return []; - end - pods_ary = [] - File.foreach(file_abs_path) { |line| - plugin = line.split(pattern=seperator) - if plugin.length == 2 - podname = plugin[0].strip() - path = plugin[1].strip() - podpath = File.expand_path("#{path}", file_abs_path) - pods_ary.push({:name => podname,:path=>podpath}); - else - puts "Invalid plugin specification: #{line}" - end - } - return pods_ary -end - -target 'Runner' do - # use_frameworks! - # Flutter Pods - generated_xcode_build_settings = parse_KV_file("./Flutter/Generated.xcconfig") - if generated_xcode_build_settings.empty? - puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter build or flutter run is executed once first." - end - generated_xcode_build_settings.map{ |p| - if p[:name]=='FLUTTER_FRAMEWORK_DIR' - pod 'Flutter', :path => p[:path] - end - } - - # Plugin Pods - plugin_pods = parse_KV_file("../.flutter-plugins") - plugin_pods.map{ |p| - pod p[:name], :path => File.expand_path("ios",p[:path]) - } -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/packages/android_intent/example/ios/.gitignore b/packages/android_intent/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/android_intent/example/ios/.gitignore +++ b/packages/android_intent/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/android_intent/example/ios/Podfile b/packages/android_intent/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/android_intent/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/battery/example/ios/.gitignore b/packages/battery/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/battery/example/ios/.gitignore +++ b/packages/battery/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/battery/example/ios/Podfile b/packages/battery/example/ios/Podfile deleted file mode 100644 index 74b3de064932..000000000000 --- a/packages/battery/example/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/packages/camera/example/ios/.gitignore b/packages/camera/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/camera/example/ios/.gitignore +++ b/packages/camera/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/cloud_firestore/example/ios/.gitignore b/packages/cloud_firestore/example/ios/.gitignore index 18f5fbfbbfba..ed631035187e 100755 --- a/packages/cloud_firestore/example/ios/.gitignore +++ b/packages/cloud_firestore/example/ios/.gitignore @@ -30,6 +30,9 @@ Icon? .tags* Pods/ +Podfile +Podfile.lock + /Flutter/app.zip /Flutter/App.framework /Flutter/Flutter.framework @@ -37,6 +40,5 @@ Pods/ /Flutter/Generated.xcconfig /ServiceDefinitions.json -Podfile.lock /Runner/GeneratedPluginRegistrant.h /Runner/GeneratedPluginRegistrant.m diff --git a/packages/cloud_firestore/example/ios/Podfile b/packages/cloud_firestore/example/ios/Podfile deleted file mode 100755 index 90b5f651fb63..000000000000 --- a/packages/cloud_firestore/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/connectivity/example/ios/.gitignore b/packages/connectivity/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/connectivity/example/ios/.gitignore +++ b/packages/connectivity/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/connectivity/example/ios/Podfile b/packages/connectivity/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/connectivity/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/device_info/example/ios/.gitignore b/packages/device_info/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/device_info/example/ios/.gitignore +++ b/packages/device_info/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/device_info/example/ios/Podfile b/packages/device_info/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/device_info/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_admob/example/ios/.gitignore b/packages/firebase_admob/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/firebase_admob/example/ios/.gitignore +++ b/packages/firebase_admob/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/firebase_admob/example/ios/Podfile b/packages/firebase_admob/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/firebase_admob/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_analytics/example/ios/Podfile b/packages/firebase_analytics/example/ios/Podfile deleted file mode 100755 index 90b5f651fb63..000000000000 --- a/packages/firebase_analytics/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_auth/example/ios/.gitignore b/packages/firebase_auth/example/ios/.gitignore index 615c402336e1..8797401e07e1 100755 --- a/packages/firebase_auth/example/ios/.gitignore +++ b/packages/firebase_auth/example/ios/.gitignore @@ -37,5 +37,7 @@ Icon? /ServiceDefinitions.json /Runner/GeneratedPluginRegistrant.h /Runner/GeneratedPluginRegistrant.m -Podfile.lock + Pods/ +Podfile +Podfile.lock diff --git a/packages/firebase_auth/example/ios/Podfile b/packages/firebase_auth/example/ios/Podfile deleted file mode 100755 index 90b5f651fb63..000000000000 --- a/packages/firebase_auth/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_core/example/ios/.gitignore b/packages/firebase_core/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/firebase_core/example/ios/.gitignore +++ b/packages/firebase_core/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/firebase_core/example/ios/Podfile b/packages/firebase_core/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/firebase_core/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_database/example/ios/.gitignore b/packages/firebase_database/example/ios/.gitignore index 18f5fbfbbfba..ed631035187e 100755 --- a/packages/firebase_database/example/ios/.gitignore +++ b/packages/firebase_database/example/ios/.gitignore @@ -30,6 +30,9 @@ Icon? .tags* Pods/ +Podfile +Podfile.lock + /Flutter/app.zip /Flutter/App.framework /Flutter/Flutter.framework @@ -37,6 +40,5 @@ Pods/ /Flutter/Generated.xcconfig /ServiceDefinitions.json -Podfile.lock /Runner/GeneratedPluginRegistrant.h /Runner/GeneratedPluginRegistrant.m diff --git a/packages/firebase_database/example/ios/Podfile b/packages/firebase_database/example/ios/Podfile deleted file mode 100755 index 90b5f651fb63..000000000000 --- a/packages/firebase_database/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_messaging/example/ios/Podfile b/packages/firebase_messaging/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/firebase_messaging/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/firebase_storage/example/ios/.gitignore b/packages/firebase_storage/example/ios/.gitignore index 18f5fbfbbfba..ed631035187e 100755 --- a/packages/firebase_storage/example/ios/.gitignore +++ b/packages/firebase_storage/example/ios/.gitignore @@ -30,6 +30,9 @@ Icon? .tags* Pods/ +Podfile +Podfile.lock + /Flutter/app.zip /Flutter/App.framework /Flutter/Flutter.framework @@ -37,6 +40,5 @@ Pods/ /Flutter/Generated.xcconfig /ServiceDefinitions.json -Podfile.lock /Runner/GeneratedPluginRegistrant.h /Runner/GeneratedPluginRegistrant.m diff --git a/packages/firebase_storage/example/ios/Podfile b/packages/firebase_storage/example/ios/Podfile deleted file mode 100755 index 90b5f651fb63..000000000000 --- a/packages/firebase_storage/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/google_sign_in/example/ios/.gitignore b/packages/google_sign_in/example/ios/.gitignore index 57f96a9f1450..c5d674b2f135 100755 --- a/packages/google_sign_in/example/ios/.gitignore +++ b/packages/google_sign_in/example/ios/.gitignore @@ -39,6 +39,8 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile Podfile.lock + /Runner/GeneratedPluginRegistrant.h /Runner/GeneratedPluginRegistrant.m diff --git a/packages/google_sign_in/example/ios/Podfile b/packages/google_sign_in/example/ios/Podfile deleted file mode 100755 index d4dc61cf4f57..000000000000 --- a/packages/google_sign_in/example/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/packages/image_picker/example/ios/.gitignore b/packages/image_picker/example/ios/.gitignore index 80539fd6aeb4..f5aa3a549e18 100755 --- a/packages/image_picker/example/ios/.gitignore +++ b/packages/image_picker/example/ios/.gitignore @@ -30,11 +30,12 @@ Icon? .tags* Pods/ +Podfile +Podfile.lock + /Flutter/app.zip /Flutter/App.framework /Flutter/Flutter.framework /Flutter/flutter_assets/ /Flutter/Generated.xcconfig /ServiceDefinitions.json - -Podfile.lock diff --git a/packages/image_picker/example/ios/Podfile b/packages/image_picker/example/ios/Podfile deleted file mode 100755 index 74b3de064932..000000000000 --- a/packages/image_picker/example/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/packages/local_auth/example/ios/.gitignore b/packages/local_auth/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/local_auth/example/ios/.gitignore +++ b/packages/local_auth/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/local_auth/example/ios/Podfile b/packages/local_auth/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/local_auth/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/package_info/example/ios/.gitignore b/packages/package_info/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/package_info/example/ios/.gitignore +++ b/packages/package_info/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/package_info/example/ios/Podfile b/packages/package_info/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/package_info/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/path_provider/example/ios/Podfile b/packages/path_provider/example/ios/Podfile deleted file mode 100644 index 74b3de064932..000000000000 --- a/packages/path_provider/example/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/packages/quick_actions/example/ios/.gitignore b/packages/quick_actions/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/quick_actions/example/ios/.gitignore +++ b/packages/quick_actions/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/quick_actions/example/ios/Podfile b/packages/quick_actions/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/quick_actions/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/sensors/example/ios/.gitignore b/packages/sensors/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/sensors/example/ios/.gitignore +++ b/packages/sensors/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/sensors/example/ios/Podfile b/packages/sensors/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/sensors/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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/packages/share/example/ios/.gitignore b/packages/share/example/ios/.gitignore index 6eb286bc4298..e069fa7a6ff8 100644 --- a/packages/share/example/ios/.gitignore +++ b/packages/share/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/share/example/ios/Podfile b/packages/share/example/ios/Podfile deleted file mode 100644 index 74b3de064932..000000000000 --- a/packages/share/example/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/packages/shared_preferences/example/ios/.gitignore b/packages/shared_preferences/example/ios/.gitignore index 6eb286bc4298..e069fa7a6ff8 100644 --- a/packages/shared_preferences/example/ios/.gitignore +++ b/packages/shared_preferences/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/shared_preferences/example/ios/Podfile b/packages/shared_preferences/example/ios/Podfile deleted file mode 100644 index 74b3de064932..000000000000 --- a/packages/shared_preferences/example/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/packages/url_launcher/example/ios/Podfile b/packages/url_launcher/example/ios/Podfile deleted file mode 100644 index 74b3de064932..000000000000 --- a/packages/url_launcher/example/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/packages/video_player/example/ios/.gitignore b/packages/video_player/example/ios/.gitignore index 4fb6be2a744a..8877902a907b 100644 --- a/packages/video_player/example/ios/.gitignore +++ b/packages/video_player/example/ios/.gitignore @@ -39,3 +39,4 @@ Icon? /ServiceDefinitions.json Pods/ +Podfile diff --git a/packages/video_player/example/ios/Podfile b/packages/video_player/example/ios/Podfile deleted file mode 100644 index 90b5f651fb63..000000000000 --- a/packages/video_player/example/ios/Podfile +++ /dev/null @@ -1,36 +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 - # 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