alibaba / alibaba/flutter_boost

iOS build failed after update flutter version to 3.3+

Open
#1,766 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

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
```
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
```
2. pod install
3. Xcode Run

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

## Logs
![image](https://user-images.githubusercontent.com/1112181/204489400-163808ea-9f9c-4b8e-9229-9c47ca3ee16d.png)

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with flutter_boost/Option.h and the provided Podfile, then reproduce the iOS build using Flutter 3.3.9, pod install, and Xcode. Compare the result with Flutter 3.0.5 and use the linked log image to identify the failing build step; done means the iOS application builds successfully on the updated Flutter version.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.