After upgrading to Android Studio Bumblebee, I'm n...
# multiplatform
j
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
Can you try opening Android Studio from the terminal using
open -a /PathToAndroidStudio.app
?
j
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
So you're affected by a bug in BumbleBee, that is currently P1
Here's the issue link (which contains other workarounds): https://issuetracker.google.com/issues/216364005?pli=1
☝️ 1
j
Oh, excellent. This makes sense. Thanks so much!
b
@Volodymyr Denysov