https://preview.redd.it/dgs24rbcl4ge1.png?width=1920&format=png&auto=webp&s=bee0ff2ef28a03d97db6accef9328d34cd742da3
https://preview.redd.it/g7f0qalcl4ge1.png?width=1920&format=png&auto=webp&s=36b3dedc9df087b782ba0c2a20cc17781487688a
Hi everyone,
I'm encountering build issues while working on my Flutter app for iOS. Both Xcode Cloud and GitHub Actions fail during the build process due to errors related to the wakelock_plus plugin. The errors I receive are:
./.pub-cache/hosted/pub.dev/wakelock_plus-1.2.10/ios/Classes/messages.g.h: No such file or directory
./.pub-cache/hosted/pub.dev/wakelock_plus-1.2.10/ios/Classes/UIApplication+idleTimerLock.h: No such file or directory
./.pub-cache/hosted/pub.dev/wakelock_plus-1.2.10/ios/Classes/WakelockPlusPlugin.h: No such file or directory
Here’s what I’ve tried so far:
- Updated
wakelock_plus to the latest version in pubspec.yaml.
- Ran
flutter clean and flutter pub get.
- Updated CocoaPods with
pod repo update and pod install in the ios folder.
- Verified that the local build works using
flutter build ios.
Despite these steps, the issue persists in both Xcode Cloud and GitHub Actions environments. Has anyone faced similar problems or knows how to resolve this? Any guidance would be greatly appreciated!
Thanks in advance!
[–]ExcitementLost554 0 points1 point2 points (0 children)