-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Description
The firebase_editor project currently fails to build on macOS when running on Apple Silicon machines with modern toolchains. This prevents contributors from running or testing the project on macOS.
Errors Encountered
When running flutter run -d macos
on macOS 15.6.1 (M4 Pro, ARM64) with Xcode 16.4 and Flutter 3.35.2, the following errors occur:
-
Invalid plugin reference
Error: Cannot find flutter_local_notifications:linux
-
Clang unsupported option
clang: error: unsupported option '-G' for target 'arm64-apple-macos10.12'
-
Deployment target too low
The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11/10.12,
but the Pods project requires at least 10.13 -
CocoaPods warnings & missing configuration
- Multiple warnings about mismatched deployment target
- Missing build phases and linking for Firebase dependencies
Screenshots
Expected Behavior
flutter run -d macos
should complete successfully- App should launch on macOS without dependency errors
Environment
- macOS: 15.6.1 (24G90)
- Chip: Apple M4 Pro (ARM64)
- Xcode: 16.4 (Build 16F6)
- Flutter: 3.35.2
- CocoaPods: 1.16.2
Proposed Fix
I have prepared a fix that addresses these issues:
- Remove invalid
flutter_local_notifications:linux
reference - Update macOS deployment target to 10.15 (minimum supported)
- Add proper CocoaPods integration for Firebase
- Configure Xcode project with required build phases
- Update Swift
AppDelegate
to use@main
annotation - Regenerate
Podfile.lock
with compatible versions
Next Steps
I’ll open a Pull Request with these changes for review.
👋 Hi, I’m Chandragupt, a new contributor to CCExtractor.
I’m opening this issue to document the problem and provide context for my upcoming PR.