After upgrading to Android Studio Bumblebee, I'm now getting an error during the gradle sync:
Copy code
Execution failed for task ':shared:podGenIOS'.
> 'pod gen' command failed with an exception:
Cannot run program "pod" (in directory "/.../shared/build/cocoapods/synthetic/IOS"): error=2, No such file or directory
Possible reason: CocoaPods is not installed
Please check that CocoaPods v1.10 or above and cocoapods-generate plugin are installed.
To check CocoaPods version type 'pod --version' in the terminal
To install CocoaPods execute 'sudo gem install cocoapods'
To install cocoapod-generate execute 'sudo gem install cocoapods-generate'
cocoapods
and
cocoapods-generate
are both installed and work when executed from the terminal. The build worked before the Android Studio upgrade as well.
./gradlew :shared:podGenIOS
also works on the command line and after completion, the AS gradle sync completes successfully, until it fails again later. Has anyone else experienced anything like this or have any idea what the issue might be?
l
louiscad
01/28/2022, 9:11 PM
Can you try opening Android Studio from the terminal using
open -a /PathToAndroidStudio.app
?
j
Jeff Lockhart
01/28/2022, 9:23 PM
It does seems to work after opening Android Studio from the terminal this way. If I perform a clean, close AS and re-open from the launcher or Finder, then I get the error again.
l
louiscad
01/28/2022, 9:36 PM
So you're affected by a bug in BumbleBee, that is currently P1