flutter_boost iOS build failed after update flutter version to 3.3+

eivnm1vs  于 6个月前  发布在  Flutter
关注(0)|答案(4)|浏览(132)

Flutter 3.0.5 is fine. After the Flutter Version update to 3.3.9 iOS build failed.

Error in flutter_boost/Option.h

Steps to Reproduce

A small application to reproduce the bug(最小化可复现的demo)

  1. Edit Podfile
  1. flutter_application_path = '../fluter_module/'
  2. load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
  3. post_install do |installer|
  4. flutter_post_install(installer) if defined?(flutter_post_install)
  5. installer.pods_project.targets.each do |target|
  6. if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
  7. target.build_configurations.each do |config|
  8. config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
  9. end
  10. end
  11. end
  12. end
  13. target 'Production' do
  14. install_all_flutter_pods(flutter_application_path)
  15. end
  1. pod install
  2. Xcode Run

Flutter Boost Version: 4.2.0
Target Platform:
Target OS version/browser:
Devices: iPhone14 Pro Max

Logs

  1. [✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-CN)
qni6mghb

qni6mghb1#

example跑起来没有发现问题~~

  1. [✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-x64, locale zh-Hans-CN)
  2. Flutter version 3.3.9 on channel stable at /Users/zero/fvm/versions/3.3.9
  3. Upstream repository https://github.com/flutter/flutter.git
  4. Framework revision b8f7f1f986 (8 days ago), 2022-11-23 06:43:51 +0900
  5. Engine revision 8f2221fbef
  6. Dart version 2.18.5
  7. DevTools version 2.15.0
  8. Pub download mirror https://pub.flutter-io.cn
  9. Flutter download mirror https://storage.flutter-io.cn
  10. [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
  11. Android SDK at /Users/zero/Library/Android/sdk
  12. Platform android-33, build-tools 33.0.1
  13. ANDROID_HOME = /Users/zero/Library/Android/sdk
  14. Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
  15. Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
  16. All Android licenses accepted.
  17. [✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
  18. Xcode at /Applications/Xcode.app/Contents/Developer
  19. Build 14A400
  20. CocoaPods version 1.11.3
  21. [✓] Android Studio (version 2021.3)
  22. Android Studio at /Applications/Android Studio.app/Contents
  23. Flutter plugin can be installed from:
  24. 🔨 https://plugins.jetbrains.com/plugin/9212-flutter
  25. Dart plugin can be installed from:
  26. 🔨 https://plugins.jetbrains.com/plugin/6351-dart
  27. Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
  28. [✓] VS Code (version 1.73.1)
  29. VS Code at /Applications/Visual Studio Code.app/Contents
  30. Flutter extension version 3.54.0
  31. [✓] Connected device (2 available)
  32. iPhone (mobile) 50131fb4dcef9d96405ec953e272bd5c24468370 ios iOS 15.0 19A346
  33. macOS (desktop) macos darwin-x64 macOS 12.6 21G115 darwin-x64
  34. [✓] HTTP Host Availability
  35. All required HTTP hosts are available
  36. No issues found!
展开查看全部
efzxgjgh

efzxgjgh2#

可能是官方问题.官方改了Flutter.framework的引入方式,新建一个空项目是可以,但是老项目不行,目前还没找到问题所在,不过可以通过把脚本还原到现在的版本可以解决这个问题
flutter/flutter#115619

yzckvree

yzckvree3#

可以问下最后怎么解决得嘛...

taor4pac

taor4pac4#

怎么还原呢,大佬

相关问题