flutter_foreground_task icon indicating copy to clipboard operation
flutter_foreground_task copied to clipboard

Swift Compiler Error (Xcode): Cannot find type 'CallkitIncomingAppDelegate' in scope

Open a7mdragab opened this issue 1 year ago • 0 comments

Dears, Thanks for your great work.

I have a problem with IOS It gives this error message Swift Compiler Error (Xcode): Cannot find type 'CallkitIncomingAppDelegate' in scope

in AppDelegate.swift

{

GeneratedPluginRegistrant.register(with: self)
SwiftFlutterForegroundTaskPlugin.setPluginRegistrantCallback(registerPlugins)  ///Here
.......
}

func registerPlugins(registry: FlutterPluginRegistry) {
  GeneratedPluginRegistrant.register(with: registry)
}

I have made as docs:

Declare the import statement below in the ios/Runner/Runner-Bridging-Header.h file.
#import <flutter_foreground_task/FlutterForegroundTaskPlugin.h>

Any help? Thanks in advance

a7mdragab avatar Mar 03 '24 16:03 a7mdragab