FlutterPluginRegistrant.xcframework from release build missing _CodeSignature and dSYMs folders
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
When I build ios-framework for a flutter module project(template=module) that has package dependencies, the FlutterPluginRegistrant.xcframework release bundle is missing _CodeSignature and dSYMs for "ios-arm64" platform.
Command: `flutter build ios-framework --release --no-debug --no-profile`

When I am using module frameworks in native iOS app, it is crashing during below line
`GeneratedPluginRegistrant.register(with: self.flutterEngine);`
I suspect it has to do with missing code signature, since there is no dSYMs I can't see detailed crash report.
### Expected results
Flutter module release build should create _CodeSignature and dSYMs for ios-arm64 platform for bundle FlutterPluginRegistrant.xcframework
### Actual results
Flutter module release build missing _CodeSignature and dSYMs for ios-arm64 platform for bundle FlutterPluginRegistrant.xcframework
### Code sample
pubspec.yaml has below dependencies:
```dart
environment:
sdk: ^3.5.3
dependencies:
amplify_flutter: ^2.0.0
amplify_auth_cognito: ^2.0.0
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
google_fonts: ^6.2.1
flutter_localizations:
sdk: flutter
intl: any
provider: ^6.1.2
change_case: ^2.1.0
flutter_launcher_icons: ^0.14.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
mockito: ^5.0.0
```
### Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
### Logs
Logs
```console
[Paste your logs here]
```
### Flutter Doctor output
Doctor output
```console
╰─ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.0.1 24A348 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.3)
[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
[✓] VS Code (version 1.95.0)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
```
Contributor guide
Assessment
This issue has not been assessed yet.