westracer / flutter_native_opencv

Using OpenCV natively in C++ in a Flutter app with Dart FFI
https://medium.com/flutter-community/integrating-c-library-in-a-flutter-app-using-dart-ffi-38a15e16bc14
MIT License
213 stars 38 forks source link

ios to run an error #12

Open githubzhaoqian opened 2 years ago

githubzhaoqian commented 2 years ago

` pod install Analyzing dependencies Downloading dependencies Generating Pods project Integrating client project Pod installation complete! There are 5 dependencies from the Podfile and 9 total pods installed.

pod setup Setup completed `

run error ` Launching lib/main.dart on iPhone 13 Pro in debug mode... 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 see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

flutter --version Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision 77d935af4d (7 weeks ago) • 2021-12-16 08:37:33 -0800 Engine • revision 890a5fca2e Tools • Dart 2.15.1

githubzhaoqian commented 2 years ago

android is ok

westracer commented 2 years ago

Hello. Have you tried searching for a solution? For example, try something from this question: https://stackoverflow.com/questions/62593939/cocoapods-not-installed-or-not-in-valid-state

githubzhaoqian commented 2 years ago

@westracer I tried that. I'm not sure what the problem is. I would like to refer to other people's pod install results. I'll try something else. thank you。