79584069

Date: 2025-04-21 05:30:24
Score: 1
Natty:
Report link

Followed above method to remove dependency and got this error, still this issue persist:

enter image description here

What I did?

1. Remove dependency manually

enter image description here

2. Remove firebase configuration from AppDelegate.swift

import Flutter
import UIKit
//import Firebase

@main
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
//      FirebaseApp.configure()
    GeneratedPluginRegistrant.register(with: self)
   
return super.application(application, didFinishLaunchingWithOptions: launchOptions)

//    Apptics.initialize(withVerbose: true)
        }
}

Now Issue is This:

flutter run
Launching lib/main.dart on iPhone 15 Pro in debug mode...
Running pod install...                                              3.6s
Running Xcode build...                                                  
Xcode build done.                                           13.5s
Failed to build iOS app
Package Loading (Xcode): Missing package product 'FirebaseAppCheck'
/Users/rapteemac/Projects-Raptee/apptics_push_notofication/ios/Runner.xcodeproj


Package Loading (Xcode): Missing package product 'FirebaseCore'
/Users/rapteemac/Projects-Raptee/apptics_push_notofication/ios/Runner.xcodeproj


Package Loading (Xcode): Missing package product 'FirebaseMessaging'
/Users/rapteemac/Projects-Raptee/apptics_push_notofication/ios/Runner.xcodeproj


Package Loading (Xcode): Missing package product 'FirebaseAnalytics'
/Users/rapteemac/Projects-Raptee/apptics_push_notofication/ios/Runner.xcodeproj


Package Loading (Xcode): Missing package product 'FirebaseAnalyticsWithoutAdIdSupport'
/Users/rapteemac/Projects-Raptee/apptics_push_notofication/ios/Runner.xcodeproj


Package Loading (Xcode): Missing package product 'FirebaseInAppMessaging-Beta'
/Users/rapteemac/Projects-Raptee/apptics_push_notofication/ios/Runner.xcodeproj


Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Amjad Ali