build(pub): 更新依赖
This commit is contained in:
@@ -1 +1,2 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
41
ios/Podfile
Normal file
41
ios/Podfile
Normal file
@@ -0,0 +1,41 @@
|
||||
# Uncomment this line to define a global platform for your project
|
||||
# platform :ios, '11.0'
|
||||
|
||||
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
||||
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
||||
|
||||
project 'Runner', {
|
||||
'Debug' => :debug,
|
||||
'Profile' => :release,
|
||||
'Release' => :release,
|
||||
}
|
||||
|
||||
def flutter_root
|
||||
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
|
||||
unless File.exist?(generated_xcode_build_settings_path)
|
||||
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
|
||||
end
|
||||
|
||||
File.foreach(generated_xcode_build_settings_path) do |line|
|
||||
matches = line.match(/FLUTTER_ROOT\=(.*)/)
|
||||
return matches[1].strip if matches
|
||||
end
|
||||
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
|
||||
end
|
||||
|
||||
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
|
||||
|
||||
flutter_ios_podfile_setup
|
||||
|
||||
target 'Runner' do
|
||||
use_frameworks!
|
||||
use_modular_headers!
|
||||
|
||||
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
flutter_additional_ios_build_settings(target)
|
||||
end
|
||||
end
|
||||
594
pubspec.lock
594
pubspec.lock
File diff suppressed because it is too large
Load Diff
24
pubspec.yaml
24
pubspec.yaml
@@ -33,32 +33,32 @@ dependencies:
|
||||
|
||||
# The following adds the Cupertino Icons font to your application.
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
cupertino_icons: ^1.0.2
|
||||
cupertino_icons: ^1.0.5
|
||||
|
||||
# 请求系统权限
|
||||
permission_handler: ^9.1.0
|
||||
permission_handler: ^10.2.0
|
||||
|
||||
#webSocket
|
||||
web_socket_channel: ^2.1.0
|
||||
web_socket_channel: ^2.3.0
|
||||
|
||||
#上拉加载更多 下拉刷新
|
||||
flutter_easyrefresh: ^2.2.1
|
||||
flutter_easyrefresh: ^2.2.2
|
||||
|
||||
#解析html数据
|
||||
flutter_html: ^2.2.1
|
||||
html: ^0.15.0
|
||||
flutter_html: ^3.0.0-alpha.6
|
||||
html: ^0.15.2
|
||||
|
||||
# WebView
|
||||
webview_flutter: ^2.8.0
|
||||
flutter_staggered_grid_view: ^0.6.1
|
||||
shared_preferences: ^2.0.13
|
||||
webview_flutter: ^4.0.7
|
||||
flutter_staggered_grid_view: ^0.6.2
|
||||
shared_preferences: ^2.0.18
|
||||
|
||||
# http
|
||||
dio: ^4.0.4
|
||||
dio: ^4.0.6
|
||||
dio_http_cache: ^0.3.0
|
||||
|
||||
# 启动页
|
||||
flutter_native_splash: ^2.0.5
|
||||
flutter_native_splash: ^2.2.0+1
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
@@ -69,7 +69,7 @@ dev_dependencies:
|
||||
# activated in the `analysis_options.yaml` file located at the root of your
|
||||
# package. See that file for information about deactivating specific lint
|
||||
# rules and activating additional ones.
|
||||
flutter_lints: ^1.0.0
|
||||
flutter_lints: ^2.0.1
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
Reference in New Issue
Block a user