Closed rashad-farajullayev closed 6 months ago
Actually file is located here: <project_dir>/ios/.symlinks/plugins/flutter_foreground_task/ios/Classes
flutter run
works in simulator. But XCode cannot find it.
i have same issue.
In my case problem was that I was opening Xcode project from Project.xcodeproj instead of Project.xcworkspace.
According to the documentation I added this import in file .../ios/Runner/Runner-Bridging-Header.h
in Podfile I have
in pubspec.yaml I have
all other ForeGround task initialization etc. is in place.
flutter build ios
andflutter run
works good and open the application simulator. But when I try to compete the project in XCode, it always fails and saystried several time to clean and build the project. but does not help.