Fix missing midicci_flutter_gui.podspec for Flutter plugin system #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix missing midicci_flutter_gui.podspec for Flutter plugin system
Problem
The Flutter build fails with a CocoaPods error:
This error occurs because Flutter's plugin system creates symlinks from
Flutter/ephemeral/.symlinks/plugins/{plugin_name}/macosto the actual plugin directory, and CocoaPods cannot find the required podspec file through this symlink system.Solution
midicci_flutter_gui.podspecin the plugin root directory (tools/flutter_ci_tool/midicci_flutter_gui.podspec)macos/Classes/**/*andnative/*.{h,cpp}from plugin root directoryKey Changes
tools/flutter_ci_tool/midicci_flutter_gui.podspec- New podspec file in plugin root directorypubspec.lockafter runningflutter pub getto verify Flutter project structureFlutter Plugin Structure
This fix follows standard Flutter plugin conventions:
Flutter/ephemeral/.symlinks/plugins/{plugin_name}/macosto the plugin rootTechnical Details
The podspec configures:
Testing
✅ Flutter dependencies:
⚠️ Build testing: Cannot test
flutter pub getcompleted successfully, confirming valid Flutter project structure✅ Git changes: Podspec successfully created in correct location
flutter run -d macoson Linux system (macOS not available as target device)To verify the fix: Run
cd tools/flutter_ci_tool && flutter run -d macoson a macOS system to confirm the CocoaPods error is resolved.Expected Result
The specific CocoaPods error should no longer appear:
Link to Devin run
https://app.devin.ai/sessions/f1b50c92410a48cf9e67c3b3ba360f81
Requested by: Atsushi Eno (atsushieno@gmail.com)