'Vscode cannot find cocoapods even already installed using brew (M1 Mac)
I use to test with this environment (m1 mac, brew-installed cocoapods, vscode, flutter), but suddenly I can't debug with using F5 on vscode because vscode cannot find cocoapods.
The error is like,
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 mini.
But the problem is, I already installed cocoapods using brew, and when I'm using cli like flutter build ios, it perfectly fine with finding cocoapod.
I can't use gem-installed cocoapods because I'm using m1 mac, and gem-installed cocoapods only supports x64 version of cocoapods.
I'm think vscode cannot find the path of cocoapods after upgrade version, but I'm not sure why.. and how to fix it.
any help?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
