wakelock_plus icon indicating copy to clipboard operation
wakelock_plus copied to clipboard

IOS build fails

Open offfahad opened this issue 11 months ago • 6 comments

/Volumes/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.10/ios/Classes/UIApplication+idleTimerLock.h: No such file or directory /Volumes/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.10/ios/Classes/messages.g.h: No such file or directory /Volumes/.pub-cache/hosted/pub.dev/wakelock_plus-1.2.10/ios/Classes/WakelockPlusPlugin.h: No such file or directory

offfahad avatar Feb 25 '25 16:02 offfahad

same issue here!

shinesoftware avatar Mar 07 '25 12:03 shinesoftware

Please perform a flutter upgrade instead of merely running flutter pub get.

diegotori avatar Mar 07 '25 13:03 diegotori

Also, can this be related to your issue? Looks like you might be using XCode Cloud to build for iOS.

diegotori avatar Mar 07 '25 13:03 diegotori

Yes the build was failing on the Xcode Clould. I try to set my pre-actions script but cloud not be able to solved the dependencies errors related to different packages and that wakelock plus was one of them i guess it was added in chiew video player packages which I was using.

offfahad avatar Mar 07 '25 14:03 offfahad

[✓] Flutter (Channel stable, 3.27.0, on macOS 15.3 24D60 darwin-arm64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.2) [✓] VS Code (version 1.98.0) [✓] Connected device (5 available) [✓] Network resources

offfahad avatar Mar 07 '25 14:03 offfahad

Anybody was able to build wakelock_plus: ^1.2.11?

I am using 1.2.11 version but its failing

Muskan-Chaudhary avatar Apr 17 '25 19:04 Muskan-Chaudhary