2

I'm following a tutorial for Flutter, which uses the audioplayer package. Unfortunately, when I try to run the project after adding the package, it doesn't work anymore... I tried everything I found around, but nothing seems to work: I get errors like

"Error running pod install Error launching application on iPhone 13."

I tried to uninstall cocoapods, reinstall pod, but every time I get a lot of errors... I don't know what to do anymore... this is an example of what I see

Edit: after doing "cd ios" and "pod deintegrate", when I do "pod install" I get this. This is the beginning

SilviaB24
  • 73
  • 1
  • 5
  • Might be wrong but the error is located above, in the console output you shared on your screens. The `Error launching application on iPhone 13` is just a cascade effect of pod install failing. However we cannot see what the actual error looks like. Try scrolling back up to the begining of the stacktrace – Olympiloutre Jan 28 '22 at 17:40
  • I just added it – SilviaB24 Jan 28 '22 at 17:47

1 Answers1

0

Follow these steps in your terminal:

  1. cd ios
  2. pod deintegrate
  3. pod install
  4. cd ..
  5. flutter pub get

Then try running again.

Josteve
  • 11,459
  • 1
  • 23
  • 35