Commit 4cf1be2f by Administrator

解决ios的编译问题

1 parent e53ceeae
...@@ -9,3 +9,15 @@ flutter run -d macos ...@@ -9,3 +9,15 @@ flutter run -d macos
flutter run -d 00008030-001C75810E42402E --release flutter run -d 00008030-001C75810E42402E --release
修改 Flutter 工程的 ios/Podfile 文件,显式声明更高版本的 iOS 平台。
platform :ios, '15.0'
cd ios
pod deintegrate
pod repo update
pod install
cd ..
# Uncomment this line to define a global platform for your project # Uncomment this line to define a global platform for your project
#platform :ios, '12.0' #platform :ios, '12.0'
#source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' #source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
#platform :ios, '13.0' platform :ios, '15.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true' ENV['COCOAPODS_DISABLE_STATS'] = 'true'
...@@ -26,12 +26,16 @@ end ...@@ -26,12 +26,16 @@ end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
pod 'SDWebImage', :git => 'https://gitee.com/mirrors/SDWebImage.git', :branch => '5.21.3' pod 'SDWebImage', :git => 'https://gitee.com/mirrors/SDWebImage.git', :branch => '5.21.3', :modular_headers => true
pod 'SDWebImageWebPCoder', :git => 'https://gitee.com/mirrors_SDWebImage/SDWebImageWebPCoder.git', :branch => '0.13.0', :modular_headers => true
flutter_ios_podfile_setup flutter_ios_podfile_setup
target 'Runner' do target 'Runner' do
use_frameworks! #use_frameworks!
use_frameworks! :linkage => :static
use_modular_headers!
# pod 'SDWebImage', :modular_headers => true # pod 'SDWebImage', :modular_headers => true
# pod 'SDWebImageWebPCoder', :modular_headers => true # pod 'SDWebImageWebPCoder', :modular_headers => true
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
......
PODS: PODS:
- camera_avfoundation (0.0.1):
- Flutter
- connectivity_plus (0.0.1):
- Flutter
- device_info_plus (0.0.1): - device_info_plus (0.0.1):
- Flutter - Flutter
- DKImagePickerController/Core (4.3.9): - DKImagePickerController/Core (4.3.9):
...@@ -32,6 +36,11 @@ PODS: ...@@ -32,6 +36,11 @@ PODS:
- DKPhotoGallery/Resource (0.0.19): - DKPhotoGallery/Resource (0.0.19):
- SDWebImage - SDWebImage
- SwiftyGif - SwiftyGif
- ffmpeg_kit_flutter_new_audio (7.1.1):
- ffmpeg_kit_flutter_new_audio/audio (= 7.1.1)
- Flutter
- ffmpeg_kit_flutter_new_audio/audio (7.1.1):
- Flutter
- file_picker (0.0.1): - file_picker (0.0.1):
- DKImagePickerController/PhotoGallery - DKImagePickerController/PhotoGallery
- Flutter - Flutter
...@@ -41,6 +50,8 @@ PODS: ...@@ -41,6 +50,8 @@ PODS:
- Mantle - Mantle
- SDWebImage - SDWebImage
- SDWebImageWebPCoder - SDWebImageWebPCoder
- flutter_localization (0.0.1):
- Flutter
- flutter_sound (9.28.0): - flutter_sound (9.28.0):
- Flutter - Flutter
- flutter_sound_core (= 9.28.0) - flutter_sound_core (= 9.28.0)
...@@ -53,8 +64,9 @@ PODS: ...@@ -53,8 +64,9 @@ PODS:
- WechatOpenSDK-XCFramework (~> 2.0.5) - WechatOpenSDK-XCFramework (~> 2.0.5)
- gallery_saver_plus (0.0.1): - gallery_saver_plus (0.0.1):
- Flutter - Flutter
- image_picker_ios (0.0.1): - geolocator_apple (1.2.0):
- Flutter - Flutter
- FlutterMacOS
- libwebp (1.5.0): - libwebp (1.5.0):
- libwebp/demux (= 1.5.0) - libwebp/demux (= 1.5.0)
- libwebp/mux (= 1.5.0) - libwebp/mux (= 1.5.0)
...@@ -70,43 +82,81 @@ PODS: ...@@ -70,43 +82,81 @@ PODS:
- Mantle (2.2.0): - Mantle (2.2.0):
- Mantle/extobjc (= 2.2.0) - Mantle/extobjc (= 2.2.0)
- Mantle/extobjc (2.2.0) - Mantle/extobjc (2.2.0)
- mobile_scanner (7.0.0):
- Flutter
- FlutterMacOS
- network_info_plus (0.0.1):
- Flutter
- open_file_ios (0.0.1):
- Flutter
- package_info_plus (0.4.5):
- Flutter
- path_provider_foundation (0.0.1): - path_provider_foundation (0.0.1):
- Flutter - Flutter
- FlutterMacOS - FlutterMacOS
- permission_handler_apple (9.3.0): - permission_handler_apple (9.3.0):
- Flutter - Flutter
- photo_manager (3.7.1):
- Flutter
- FlutterMacOS
- SDWebImage (5.21.3): - SDWebImage (5.21.3):
- SDWebImage/Core (= 5.21.3) - SDWebImage/Core (= 5.21.3)
- SDWebImage/Core (5.21.3) - SDWebImage/Core (5.21.3)
- SDWebImageWebPCoder (0.14.6): - SDWebImageWebPCoder (0.13.0):
- libwebp (~> 1.0) - libwebp (~> 1.0)
- SDWebImage/Core (~> 5.17) - SDWebImage/Core (~> 5.17)
- sensors_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1): - shared_preferences_foundation (0.0.1):
- Flutter - Flutter
- FlutterMacOS - FlutterMacOS
- sqflite_darwin (0.0.4):
- Flutter
- FlutterMacOS
- SwiftyGif (5.4.5) - SwiftyGif (5.4.5)
- video_thumbnail (0.0.1): - url_launcher_ios (0.0.1):
- Flutter - Flutter
- libwebp - vibration (3.0.0):
- Flutter
- video_compress (0.3.0):
- Flutter
- video_player_avfoundation (0.0.1):
- Flutter
- FlutterMacOS
- webview_flutter_wkwebview (0.0.1): - webview_flutter_wkwebview (0.0.1):
- Flutter - Flutter
- FlutterMacOS - FlutterMacOS
- WechatOpenSDK-XCFramework (2.0.5) - WechatOpenSDK-XCFramework (2.0.5)
DEPENDENCIES: DEPENDENCIES:
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`) - device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- ffmpeg_kit_flutter_new_audio (from `.symlinks/plugins/ffmpeg_kit_flutter_new_audio/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`) - file_picker (from `.symlinks/plugins/file_picker/ios`)
- Flutter (from `Flutter`) - Flutter (from `Flutter`)
- flutter_image_compress_common (from `.symlinks/plugins/flutter_image_compress_common/ios`) - flutter_image_compress_common (from `.symlinks/plugins/flutter_image_compress_common/ios`)
- flutter_localization (from `.symlinks/plugins/flutter_localization/ios`)
- flutter_sound (from `.symlinks/plugins/flutter_sound/ios`) - flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)
- fluwx (from `.symlinks/plugins/fluwx/ios`) - fluwx (from `.symlinks/plugins/fluwx/ios`)
- gallery_saver_plus (from `.symlinks/plugins/gallery_saver_plus/ios`) - gallery_saver_plus (from `.symlinks/plugins/gallery_saver_plus/ios`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - geolocator_apple (from `.symlinks/plugins/geolocator_apple/darwin`)
- mobile_scanner (from `.symlinks/plugins/mobile_scanner/darwin`)
- network_info_plus (from `.symlinks/plugins/network_info_plus/ios`)
- open_file_ios (from `.symlinks/plugins/open_file_ios/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- photo_manager (from `.symlinks/plugins/photo_manager/ios`)
- SDWebImage (from `https://gitee.com/mirrors/SDWebImage.git`, branch `5.21.3`) - SDWebImage (from `https://gitee.com/mirrors/SDWebImage.git`, branch `5.21.3`)
- SDWebImageWebPCoder (from `https://gitee.com/mirrors_SDWebImage/SDWebImageWebPCoder.git`, branch `0.13.0`)
- sensors_plus (from `.symlinks/plugins/sensors_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- video_thumbnail (from `.symlinks/plugins/video_thumbnail/ios`) - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- vibration (from `.symlinks/plugins/vibration/ios`)
- video_compress (from `.symlinks/plugins/video_compress/ios`)
- video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)
SPEC REPOS: SPEC REPOS:
...@@ -116,38 +166,68 @@ SPEC REPOS: ...@@ -116,38 +166,68 @@ SPEC REPOS:
- flutter_sound_core - flutter_sound_core
- libwebp - libwebp
- Mantle - Mantle
- SDWebImageWebPCoder
- SwiftyGif - SwiftyGif
- WechatOpenSDK-XCFramework - WechatOpenSDK-XCFramework
EXTERNAL SOURCES: EXTERNAL SOURCES:
camera_avfoundation:
:path: ".symlinks/plugins/camera_avfoundation/ios"
connectivity_plus:
:path: ".symlinks/plugins/connectivity_plus/ios"
device_info_plus: device_info_plus:
:path: ".symlinks/plugins/device_info_plus/ios" :path: ".symlinks/plugins/device_info_plus/ios"
ffmpeg_kit_flutter_new_audio:
:path: ".symlinks/plugins/ffmpeg_kit_flutter_new_audio/ios"
file_picker: file_picker:
:path: ".symlinks/plugins/file_picker/ios" :path: ".symlinks/plugins/file_picker/ios"
Flutter: Flutter:
:path: Flutter :path: Flutter
flutter_image_compress_common: flutter_image_compress_common:
:path: ".symlinks/plugins/flutter_image_compress_common/ios" :path: ".symlinks/plugins/flutter_image_compress_common/ios"
flutter_localization:
:path: ".symlinks/plugins/flutter_localization/ios"
flutter_sound: flutter_sound:
:path: ".symlinks/plugins/flutter_sound/ios" :path: ".symlinks/plugins/flutter_sound/ios"
fluwx: fluwx:
:path: ".symlinks/plugins/fluwx/ios" :path: ".symlinks/plugins/fluwx/ios"
gallery_saver_plus: gallery_saver_plus:
:path: ".symlinks/plugins/gallery_saver_plus/ios" :path: ".symlinks/plugins/gallery_saver_plus/ios"
image_picker_ios: geolocator_apple:
:path: ".symlinks/plugins/image_picker_ios/ios" :path: ".symlinks/plugins/geolocator_apple/darwin"
mobile_scanner:
:path: ".symlinks/plugins/mobile_scanner/darwin"
network_info_plus:
:path: ".symlinks/plugins/network_info_plus/ios"
open_file_ios:
:path: ".symlinks/plugins/open_file_ios/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation: path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin" :path: ".symlinks/plugins/path_provider_foundation/darwin"
permission_handler_apple: permission_handler_apple:
:path: ".symlinks/plugins/permission_handler_apple/ios" :path: ".symlinks/plugins/permission_handler_apple/ios"
photo_manager:
:path: ".symlinks/plugins/photo_manager/ios"
SDWebImage: SDWebImage:
:branch: 5.21.3 :branch: 5.21.3
:git: https://gitee.com/mirrors/SDWebImage.git :git: https://gitee.com/mirrors/SDWebImage.git
SDWebImageWebPCoder:
:branch: 0.13.0
:git: https://gitee.com/mirrors_SDWebImage/SDWebImageWebPCoder.git
sensors_plus:
:path: ".symlinks/plugins/sensors_plus/ios"
shared_preferences_foundation: shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin" :path: ".symlinks/plugins/shared_preferences_foundation/darwin"
video_thumbnail: sqflite_darwin:
:path: ".symlinks/plugins/video_thumbnail/ios" :path: ".symlinks/plugins/sqflite_darwin/darwin"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
vibration:
:path: ".symlinks/plugins/vibration/ios"
video_compress:
:path: ".symlinks/plugins/video_compress/ios"
video_player_avfoundation:
:path: ".symlinks/plugins/video_player_avfoundation/darwin"
webview_flutter_wkwebview: webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/darwin" :path: ".symlinks/plugins/webview_flutter_wkwebview/darwin"
...@@ -155,31 +235,48 @@ CHECKOUT OPTIONS: ...@@ -155,31 +235,48 @@ CHECKOUT OPTIONS:
SDWebImage: SDWebImage:
:commit: 7312c9ce5e1987cb6cbf11213b5fc1fc03abe3a8 :commit: 7312c9ce5e1987cb6cbf11213b5fc1fc03abe3a8
:git: https://gitee.com/mirrors/SDWebImage.git :git: https://gitee.com/mirrors/SDWebImage.git
SDWebImageWebPCoder:
:commit: 5399005a7e707b7ceaf23d1ace31970ee178fe17
:git: https://gitee.com/mirrors_SDWebImage/SDWebImageWebPCoder.git
SPEC CHECKSUMS: SPEC CHECKSUMS:
camera_avfoundation: be3be85408cd4126f250386828e9b1dfa40ab436
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
ffmpeg_kit_flutter_new_audio: 96938651839bda1fedaf527b7279ba8624b70335
file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_image_compress_common: 1697a328fd72bfb335507c6bca1a65fa5ad87df1 flutter_image_compress_common: 1697a328fd72bfb335507c6bca1a65fa5ad87df1
flutter_localization: 72299fb6cb4e51cae587bd953ed0b958040b71e6
flutter_sound: b9236a5875299aaa4cef1690afd2f01d52a3f890 flutter_sound: b9236a5875299aaa4cef1690afd2f01d52a3f890
flutter_sound_core: 427465f72d07ab8c3edbe8ffdde709ddacd3763c flutter_sound_core: 427465f72d07ab8c3edbe8ffdde709ddacd3763c
fluwx: 620a35d7ba14842304dc2b19fed6b4e279da9d0f fluwx: 620a35d7ba14842304dc2b19fed6b4e279da9d0f
gallery_saver_plus: 61c8a831d5975e2bf57f87bcd64379dcc7d29ff2 gallery_saver_plus: 61c8a831d5975e2bf57f87bcd64379dcc7d29ff2
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e
libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8 libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
mobile_scanner: 9157936403f5a0644ca3779a38ff8404c5434a93
network_info_plus: cf61925ab5205dce05a4f0895989afdb6aade5fc
open_file_ios: 5ff7526df64e4394b4fe207636b67a95e83078bb
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
photo_manager: 1d80ae07a89a67dfbcae95953a1e5a24af7c3e62
SDWebImage: 22f3e17ef402a1cabed97a37a36397ec1f36e435 SDWebImage: 22f3e17ef402a1cabed97a37a36397ec1f36e435
SDWebImageWebPCoder: e38c0a70396191361d60c092933e22c20d5b1380 SDWebImageWebPCoder: af09429398d99d524cae2fe00f6f0f6e491ed102
sensors_plus: 6a11ed0c2e1d0bd0b20b4029d3bad27d96e0c65b
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
video_thumbnail: b637e0ad5f588ca9945f6e2c927f73a69a661140 url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
vibration: 69774ad57825b11c951ee4c46155f455d7a592ce
video_compress: f2133a07762889d67f0711ac831faa26f956980e
video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b
webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2
WechatOpenSDK-XCFramework: ff342ae616bb86df3d236aca38059dfd4bc4a949 WechatOpenSDK-XCFramework: ff342ae616bb86df3d236aca38059dfd4bc4a949
PODFILE CHECKSUM: 796b297eb3180da7b164556770b43e60cda83073 PODFILE CHECKSUM: 64612506ec0f1aadb3731dd0c285ba43e9ba6673
COCOAPODS: 1.16.2 COCOAPODS: 1.16.2
{"guid":"dc4b70c03e8043e50e38f2068887b1d4","name":"Pods","path":"/Users/ethanlam/works/gitlab/flutter_pros/appframe.git/ios/Pods/Pods.xcodeproj/project.xcworkspace","projects":["PROJECT@v11_mod=a5693d2b86d2bd745700c225bc3c49cb_hash=bfdfe7dc352907fc980b868725387e98plugins=1OJSG6M1FOV3XYQCBH7Z29RZ0FPR9XDE1"]}
\ No newline at end of file \ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!