Showing
7 changed files
with
44 additions
and
14 deletions
| @@ -11,7 +11,6 @@ | @@ -11,7 +11,6 @@ | ||
| 11 | .svn/ | 11 | .svn/ |
| 12 | 12 | ||
| 13 | # IntelliJ related | 13 | # IntelliJ related |
| 14 | -*.iml | ||
| 15 | *.ipr | 14 | *.ipr |
| 16 | *.iws | 15 | *.iws |
| 17 | .idea/ | 16 | .idea/ |
| @@ -19,7 +18,6 @@ | @@ -19,7 +18,6 @@ | ||
| 19 | # Visual Studio Code related | 18 | # Visual Studio Code related |
| 20 | .classpath | 19 | .classpath |
| 21 | .project | 20 | .project |
| 22 | -.settings/ | ||
| 23 | .vscode/ | 21 | .vscode/ |
| 24 | 22 | ||
| 25 | # Flutter repo-specific | 23 | # Flutter repo-specific |
| @@ -49,7 +47,6 @@ analysis_benchmark.json | @@ -49,7 +47,6 @@ analysis_benchmark.json | ||
| 49 | .dart_tool/ | 47 | .dart_tool/ |
| 50 | .flutter-plugins | 48 | .flutter-plugins |
| 51 | .flutter-plugins-dependencies | 49 | .flutter-plugins-dependencies |
| 52 | -**/generated_plugin_registrant.dart | ||
| 53 | .packages | 50 | .packages |
| 54 | .pub-cache/ | 51 | .pub-cache/ |
| 55 | .pub/ | 52 | .pub/ |
| @@ -90,13 +87,11 @@ unlinked_spec.ds | @@ -90,13 +87,11 @@ unlinked_spec.ds | ||
| 90 | **/ios/Flutter/.last_build_id | 87 | **/ios/Flutter/.last_build_id |
| 91 | **/ios/Flutter/App.framework | 88 | **/ios/Flutter/App.framework |
| 92 | **/ios/Flutter/Flutter.framework | 89 | **/ios/Flutter/Flutter.framework |
| 93 | -**/ios/Flutter/Flutter.podspec | ||
| 94 | **/ios/Flutter/Generated.xcconfig | 90 | **/ios/Flutter/Generated.xcconfig |
| 95 | **/ios/Flutter/ephemeral | 91 | **/ios/Flutter/ephemeral |
| 96 | **/ios/Flutter/app.flx | 92 | **/ios/Flutter/app.flx |
| 97 | **/ios/Flutter/app.zip | 93 | **/ios/Flutter/app.zip |
| 98 | **/ios/Flutter/flutter_assets/ | 94 | **/ios/Flutter/flutter_assets/ |
| 99 | -**/ios/Flutter/flutter_export_environment.sh | ||
| 100 | **/ios/ServiceDefinitions.json | 95 | **/ios/ServiceDefinitions.json |
| 101 | **/ios/Runner/GeneratedPluginRegistrant.* | 96 | **/ios/Runner/GeneratedPluginRegistrant.* |
| 102 | 97 | ||
| @@ -107,9 +102,6 @@ unlinked_spec.ds | @@ -107,9 +102,6 @@ unlinked_spec.ds | ||
| 107 | **/macos/Flutter/ephemeral | 102 | **/macos/Flutter/ephemeral |
| 108 | **/xcuserdata/ | 103 | **/xcuserdata/ |
| 109 | 104 | ||
| 110 | -# Windows | ||
| 111 | -**/windows/flutter/generated_plugin_registrant.cc | ||
| 112 | -**/windows/flutter/generated_plugin_registrant.h | ||
| 113 | 105 | ||
| 114 | # Coverage | 106 | # Coverage |
| 115 | coverage/ | 107 | coverage/ |
| @@ -17,13 +17,11 @@ xcuserdata | @@ -17,13 +17,11 @@ xcuserdata | ||
| 17 | **/.generated/ | 17 | **/.generated/ |
| 18 | Flutter/App.framework | 18 | Flutter/App.framework |
| 19 | Flutter/Flutter.framework | 19 | Flutter/Flutter.framework |
| 20 | -Flutter/Flutter.podspec | ||
| 21 | Flutter/Generated.xcconfig | 20 | Flutter/Generated.xcconfig |
| 22 | Flutter/ephemeral/ | 21 | Flutter/ephemeral/ |
| 23 | Flutter/app.flx | 22 | Flutter/app.flx |
| 24 | Flutter/app.zip | 23 | Flutter/app.zip |
| 25 | Flutter/flutter_assets/ | 24 | Flutter/flutter_assets/ |
| 26 | -Flutter/flutter_export_environment.sh | ||
| 27 | ServiceDefinitions.json | 25 | ServiceDefinitions.json |
| 28 | Runner/GeneratedPluginRegistrant.* | 26 | Runner/GeneratedPluginRegistrant.* |
| 29 | 27 |
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | # This is a generated file; do not edit or check into version control. | 2 | # This is a generated file; do not edit or check into version control. |
| 3 | -export "FLUTTER_ROOT=/Users/lizhuoyuan/Development/flutter" | 3 | +export "FLUTTER_ROOT=/Users/lizhuoyuan/fvm/versions/stable" |
| 4 | export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example" | 4 | export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example" |
| 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" | 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" |
| 6 | export "FLUTTER_TARGET=lib/main.dart" | 6 | export "FLUTTER_TARGET=lib/main.dart" |
| @@ -8,6 +8,6 @@ export "FLUTTER_BUILD_DIR=build" | @@ -8,6 +8,6 @@ export "FLUTTER_BUILD_DIR=build" | ||
| 8 | export "FLUTTER_BUILD_NAME=1.0.0" | 8 | export "FLUTTER_BUILD_NAME=1.0.0" |
| 9 | export "FLUTTER_BUILD_NUMBER=1" | 9 | export "FLUTTER_BUILD_NUMBER=1" |
| 10 | export "DART_OBFUSCATION=false" | 10 | export "DART_OBFUSCATION=false" |
| 11 | -export "TRACK_WIDGET_CREATION=false" | 11 | +export "TRACK_WIDGET_CREATION=true" |
| 12 | export "TREE_SHAKE_ICONS=false" | 12 | export "TREE_SHAKE_ICONS=false" |
| 13 | -export "PACKAGE_CONFIG=.packages" | 13 | +export "PACKAGE_CONFIG=.dart_tool/package_config.json" |
example/ios/Podfile
0 → 100644
| 1 | +# Uncomment this line to define a global platform for your project | ||
| 2 | +# platform :ios, '9.0' | ||
| 3 | + | ||
| 4 | +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. | ||
| 5 | +ENV['COCOAPODS_DISABLE_STATS'] = 'true' | ||
| 6 | + | ||
| 7 | +project 'Runner', { | ||
| 8 | + 'Debug' => :debug, | ||
| 9 | + 'Profile' => :release, | ||
| 10 | + 'Release' => :release, | ||
| 11 | +} | ||
| 12 | + | ||
| 13 | +def flutter_root | ||
| 14 | + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) | ||
| 15 | + unless File.exist?(generated_xcode_build_settings_path) | ||
| 16 | + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" | ||
| 17 | + end | ||
| 18 | + | ||
| 19 | + File.foreach(generated_xcode_build_settings_path) do |line| | ||
| 20 | + matches = line.match(/FLUTTER_ROOT\=(.*)/) | ||
| 21 | + return matches[1].strip if matches | ||
| 22 | + end | ||
| 23 | + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" | ||
| 24 | +end | ||
| 25 | + | ||
| 26 | +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) | ||
| 27 | + | ||
| 28 | +flutter_ios_podfile_setup | ||
| 29 | + | ||
| 30 | +target 'Runner' do | ||
| 31 | + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) | ||
| 32 | +end | ||
| 33 | + | ||
| 34 | +post_install do |installer| | ||
| 35 | + installer.pods_project.targets.each do |target| | ||
| 36 | + flutter_additional_ios_build_settings(target) | ||
| 37 | + end | ||
| 38 | +end |
| 1 | name: flutter_screenutil | 1 | name: flutter_screenutil |
| 2 | description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models | 2 | description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models |
| 3 | -version: 5.5.4 | 3 | +version: 5.6.0 |
| 4 | homepage: https://github.com/OpenFlutter/flutter_screenutil | 4 | homepage: https://github.com/OpenFlutter/flutter_screenutil |
| 5 | 5 | ||
| 6 | environment: | 6 | environment: |
-
Please register or login to post a comment