2

Error (Xcode): Build input file cannot be found: '/Users/medhavhidevice/Desktop/bhawani/medhavhi-mobileapp-bloc/build/ios/Debug-iphonesimulator/video_player_avfoundation/video_player_avfoundation_privacy.bundle/video_player_avfoundation_privacy'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

i am geting these kind of issues.
package will be different but Did you forget to declare this file as an output of a script phase or custom build rule which produces it? this is common for me first it was flutter_webView and then wakelock now this

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.2, on macOS 15.6.1 24G90 darwin-arm64,
    locale en-NP)
[✓] Android toolchain - develop for Android devices (Android SDK version
    36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.103.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

my other projects are being built fine but not this project

i tried cleaning
flutter clean

cd ios

rm -rf Pods/

rm -rf build/

rm Podfile.lock

cd ..

flutter pub get

cd ios

pod install --repo-update --verbose

cd ..

flutter run

but the issue persisted. If someone has faced this issue i would appreciate step wise solution

2
  • Did you move this file? Move it back to original location. Commented Sep 9 at 16:25
  • Did you find any solution to this? Currently facing a similar problem but in a react native expo project. Commented Sep 10 at 17:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.