Skip to content

🐞IOS No such module 'workmanager'. in AppDelegate.swift #614

@zolboo918

Description

@zolboo918
  • [✓] I have read the README
  • [✓] I have done the setup for Android
  • [✓] I have done the setup for iOS
  • [✓] I have ran the sample app and it does not work there

Version
0.8.0
| Technology | Version |
| flutter | | 3.32.4|
| Workmanager version | 0.8.0 |
| Xcode version | 16.4 |
| Swift version | swift-driver version: 1.120.5 Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) |
| iOS deployment target| 15.6 |

No such module 'workmanager' error in AppDelegate.swift. When i use workmanager_apple instead of workmanager is fine. But when app is in background,
[workmanager_apple.BackgroundWorker] performBackgroundRequest(_:) -> performBackgroundRequest.failed
this error occurs. Is this new version error or i missed something?

Output of flutter doctor -v
[✓] Flutter (Channel stable, 3.32.4, on macOS 15.5 24F74 darwin-arm64, locale en-MN)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.100.1)
[✓] VS Code (version 1.101.2)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions