Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocoaPods not installed. Skipping pod install. #15

Open
jsingh-github opened this issue Aug 16, 2020 · 0 comments
Open

ocoaPods not installed. Skipping pod install. #15

jsingh-github opened this issue Aug 16, 2020 · 0 comments

Comments

@jsingh-github
Copy link

After importing the audio package, setting up statelessWidget, I switch off the app and started again. On running the app again, i got the error below

class XylophoneApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: SafeArea( child: FlatButton( onPressed: () { final player = AudioCache(); player.play('note1.wav'); }, child: Text('Click Me'), ), ), ), ); } }

-----------------------------------Error----------------------------------------
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods

CocoaPods not installed or not in valid state.
Error launching application on iPhone 11 Pro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant