Android Studio Bumblebee 'pod install' command failed with an exception error=2
There is an Android Studio bug report for this, including a workaround: https://issuetracker.google.com/issues/216364005#comment7
The root cause appear to be missing executable flag on Contents/bin/printenv file.
The workaround is to add missing flag:
chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv
Error running pod install: How to solve this problem?
On M1 macs, this is a known issue. Here's what you should do.
- Run this command (need to be run only first time)
sudo arch -x86_64 gem install ffi
- Install your pods like this.
arch -x86_64 pod install
Going forward, you need to run only the second command for pod install.
Source 1 : Got error while trying pod install #10220
Source 2 : pod install /w m1 macbook #10518
pod install command shows error
The problems where not with the downloading i downloaded everything and installed cocoa pods but was not able to install my pod file in my project workspace as i didn't create an username and email for the git. After doing that i was able to install my pod file
following are the codes to set your username and emailid for your git using terminal
git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@youremail.com"
pod install -bash: pod: command not found
OK, found the problem. I upgraded Ruby some time ago and blasted away a whole load of gems. Solution:
sudo gem install cocoapods
For none-sudo use:
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
gem install cocoapods --user-install
Pod install command with error
replace this character " ‘ " with this " ' " in your podfile and try to install again.
it's happen to me when I copy pod line from somewhere else (like Evernote), some text editors automatically change this character. Usually it's like this :
pod 'AFNetworking', '~> 2.0'
but when I take from other editor, it could be like this :
pod ‘AFNetworking‘, ‘~> 2.0‘
Flutter pod install error when i add package firebase_core
Try this:
open your ios folder and do first a
pod repo update
pod deintegrate
(delete de Podfile.lock)
pod install
Error using Pod Install command on Podfile in Terminal
You shouldn’t use TextEdit to edit the pod file because TextEdit likes
to replace standard quotes with more graphically appealing quotes.
This can cause CocoaPods to get confused and display errors, so it’s
best to just use Xcode or another programming text editor.
TextEdit:
Using TextEdit will give you following,
pod ‘Parse’, ‘~> 1.7.1′ //notice the quotes
To turn off smart quotes in TextEdit, goto
TextEdit > Preferences > New Document > Options
Xcode:
To get the correct quotes you should use Xcode when opening Podfie:
pod 'Parse', '~> 1.7.1'
Terminal Commands to open using Xcode app:
$ touch Podfile //OR $ cd <parentDirectory of Podfile>
$ open -a Xcode Podfile
Related Topics
Disabling Firebase Automatic Screen Reporting
Uitextview Adding New Line Unintentionally
Nsnumberformatter with Comma Decimal Separator
How Long Does Apple Permit a Background Task to Run
Detect App Launch from Widgetkit Widget Extension
How Reliable Is Kvo with Uikit
How to Use Unsafemutablepointer in Swift 3
How to Set an Nscalendarunitminute Repeatinterval on iOS 10 Usernotifications
Uiscrollview Pauses Nstimer While Scrolling
Objective-C Wrapper for Cfunctionpointer to a Swift Closure
Nsgenericexception Reason Collection <Nsconcretemaptable: Xxx>
Uiimagejpegrepresentation Received Memory Warning
Get User Profile Details (Especially Email Address) from Twitter in iOS
iOS Facebook Sdk - Post Open Graph and Show on Timeline Without Clicking Activity Log
What Is the Swift Equivalent of Makeobjectsperformselector
In iOS, What's the Difference Between Autoresizing, Autolayout, and Constraints