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)
- Edit Podfile
flutter_application_path = '../fluter_module/'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
post_install do |installer|
flutter_post_install(installer) if defined?(flutter_post_install)
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
target 'Production' do
install_all_flutter_pods(flutter_application_path)
end
- pod install
- Xcode Run
Flutter Boost Version: 4.2.0
Target Platform:
Target OS version/browser:
Devices: iPhone14 Pro Max
Logs
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-CN)
4条答案
按热度按时间qni6mghb1#
example跑起来没有发现问题~~
efzxgjgh2#
可能是官方问题.官方改了Flutter.framework的引入方式,新建一个空项目是可以,但是老项目不行,目前还没找到问题所在,不过可以通过把脚本还原到现在的版本可以解决这个问题
flutter/flutter#115619
yzckvree3#
可以问下最后怎么解决得嘛...
taor4pac4#
怎么还原呢,大佬