for noobs like me it's nice to know that for the "mate Podfile" command to actually work you need to have TextMate command line installed, TextMate alone is not enough
For anyone who is having trouble with the 'mate' command. You need to install Textmate and go to preferences > Terminal > Click the install button for the shell. This will allow you to use the mate command in the terminal
Uhh just a note for whoever did the post-proudction sound on this... You either choose the boom or the lav, or you mix them together in *mono* (assuming they are in phase). It's very difficult to absorb this information with 2 different mics in 2 different phases in my 2 different ears.
Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/mac/.cocoapods/repos/master fetch origin
If you're installing CocoaPods from scratch like I am, you may have trouble with "pod search AFNetworking". Apparently you need to have previously installed a pod before you can search.
I faced an error while installing cocoapods "You don't have write permissions for the /usr/bin directory". So, I tried this command "sudo gem install -n /usr/local/bin cocoapods", and it worked for my mac.
Hey Google Developers, after I installed cocoapods I have got 48 errors 'Apple Mach-O linker error'. though I opened .xcworkspace project. So, please you or anyone else can you help me in fixing this issue because I am half away in my project and I don't want to lose it. Regards
5:02 is where i got SOOO confused! im a complete beginner and dont know how to work with Textmate and how to set it up, can anyone help me or give me any tips id greatly appreciate it!
I had to run ```pod init``` which generated a valid Podfile. Complained about pods not being used in any concrete targets. Deleted my Podfile. Ran pod init. Edited the generated podfile and magic - pod install worked!
My experience did not play out like the video. I ran into an error message: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory. I am tempted to type "mother may I?" but I doubt it will not help any. My first thought is, do i need to continue with installing files, or does my Mac have enough of what it needs? My Second thought is, what does an administrator need to have permission these days?
My Mac is up-to-date too: Model Name: iMac Model Identifier: iMac18,3 Processor Name: Intel Core i5 Processor Speed: 3.4 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 64 GB Boot ROM Version: IM183.0161.B00 SMC Version (system): 2.41f1 System Version: macOS 10.13.6 (17G65) Kernel Version: Darwin 17.7.0 Boot Volume: Macintosh HD Boot Mode: Normal Xcode Version 9.4.1 (9F2000)
Is this something like yum on Linux? I am start with Flutter, and Dev Tools require CocoaPods to compile enable Flutter plugins to run in the native apps.
its very troublesome for EL Capitan. please provide detailed steps. sudo gem install cocoapods was not working, tried to fix it with sudo gem install -n/usr/local/bin cocoapods. then pod setup was stopping, ...what to do?
did the pod setup command take forever for anyone else? the video version had this complete quite fast...mine still appears to be thinking and it's been a few minutes
I found the solution to the MATE command problem! Colin Caufield first referred me to TextMate.app. Also George Nachman replied and said it was probably TextMate they used. See here: stackoverflow.com/questions/4011707/how-to-start-textmate-in-command-line (or maybe, I suspect that because they had some other terminal app installed, it added the capability to iTerm2) Hopefully this helps the next person who follows this video.
Best v'deo for cocoapos especially if u are runnin macos on window as vm you are so damn stuck and U wanna punch pc then this vdeo makes u feel relax:)
I followed this, did the "sudo gem update --system" this is resulting in my system crashing with gem, getting permission denied errors - any clue what it could be?
After I was able to proceed, I then ran into another problem. Unlike the video, I entered the mate command and the response was: mate: command not found In my attempt to resolve the matter, I ran into the bug reporting page: gitlab.com/gnachman/iterm2 With the notice: iterm2 Issues site for iTerm2 Project ID: 252461 Mirrored from github.com/gnachman/iTerm2.git. The repository failed to update 9 months ago. Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer. What does this mean?
Also following along with the video around 7:34 I keep getting this error on the command line: [!] The dependency `AFNetworking` is not used in any concrete target. The dependency `GoogleAnalytics (~> 3.16)` is not used in any concrete target.
i am getting the error as well: ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2. i have the latest version; when i enter command "sudo gem update --system" i get the "Latest version currently installed. Aborting." message. any ideas?
looks like i'm ok now. needed to first update gem by running sudo gem install active support -v 4.2.6 (or some version higher than whatever the error is giving). then i was able to use your modified code "sudo gem install -n/usr/local/bin cocoapods
As the (retired) author of CocoaPods and only just now stumbling upon this… holy wow, this is amazing and made my day! 😍
I vote all Introductions/Tutorials be in this format.
Probably the best tutorial I've ever seen!
for noobs like me it's nice to know that for the "mate Podfile" command to actually work you need to have TextMate command line installed, TextMate alone is not enough
As an Android developer this was a great intro to CocoaPods
Google recognises and promotes CocoaPods before Apple. How sad is that?
Good job, Google! Love this series.
Gosh, that's the most entertaining tutorial I've ever watched! Cocoapods at my fingertips now!
For anyone who is having trouble with the 'mate' command. You need to install Textmate and go to preferences > Terminal > Click the install button for the shell. This will allow you to use the mate command in the terminal
Thanks
Thank you!
This was both educational and hilarious for a software geek 😂
Thanks for his guys.. had never understood cocoapods TILL now
he kinda reminds me of Robin Williams
surprisingly not cringy and very informative. Great job
Highly entertaining and informative. Great job!
After watching WandaVision, these are super fun to watch and learn.
Uhh just a note for whoever did the post-proudction sound on this... You either choose the boom or the lav, or you mix them together in *mono* (assuming they are in phase). It's very difficult to absorb this information with 2 different mics in 2 different phases in my 2 different ears.
This is the best Introduction I have ever seen!!! 👍❤️
Thank you
This is amazing ! Thanks to everyone involved.
9:45 😂😂😂 was definitely not expecting that
I wish all developer tutorials was like this
This is the best tutorail in the our galaxy.
Wonderful video ❤
This was education and entertaining! Great Job!
If you get the error: error with `write permission.
In MacOS Mojave works this: "sudo gem install cocoapods -n /usr/local/bin"
it was so beautiful and creative, i love it💛🙏🌼🌸🌺
This was FANtastic
Love this. Thanks for the introduction.
Best tutorial ever for Cocoapods. :)
Thanks for this tutorial! Wish me luck, lol!! Cheers!
simply great
What a great video this saved me from setting my laptop on fire 😂
i loveee this video guyss! thanks
Setting up CocoaPods master repo
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
$ /usr/bin/git -C /Users/mac/.cocoapods/repos/master fetch origin
03:30 We're gonna be usiing dependency manager to install a dependency manager.
A summary of what software developoment is all about.
This had me on the floor it was so funny
I Love it ))))) Thanks guys ))))))
If you're installing CocoaPods from scratch like I am, you may have trouble with "pod search AFNetworking". Apparently you need to have previously installed a pod before you can search.
This is amazing! Good Job
what wonderful work ...
how did you get to the "root directory" where the xCode project is stored?????
I faced an error while installing cocoapods "You don't have write permissions for the /usr/bin directory". So, I tried this command "sudo gem install -n /usr/local/bin cocoapods", and it worked for my mac.
Hey Google Developers, after I installed cocoapods I have got 48 errors 'Apple Mach-O linker error'. though I opened .xcworkspace project. So, please you or anyone else can you help me in fixing this issue because I am half away in my project and I don't want to lose it.
Regards
Loved this video guys, you are awesome.
Wish my teachers taught me like this.
5:02 is where i got SOOO confused! im a complete beginner and dont know how to work with Textmate and how to set it up, can anyone help me or give me any tips id greatly appreciate it!
I had to run ```pod init``` which generated a valid Podfile. Complained about pods not being used in any concrete targets. Deleted my Podfile. Ran pod init. Edited the generated podfile and magic - pod install worked!
I'm stuck at the pod setup stage, it's saying this command is not recognised. Am I missing something?
Great video! You saved my hours by 10min. Thank you!
Very cool
So Great Video
awesome video! funny and helpful
The best tutorial ever!!!!! 😂 😂 😂 😂 😂 😂
Thanks...
My experience did not play out like the video. I ran into an error message:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
I am tempted to type "mother may I?" but I doubt it will not help any.
My first thought is, do i need to continue with installing files, or does my Mac have enough of what it needs? My Second thought is, what does an administrator need to have permission these days?
My Mac is up-to-date too:
Model Name: iMac
Model Identifier: iMac18,3
Processor Name: Intel Core i5
Processor Speed: 3.4 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 64 GB
Boot ROM Version: IM183.0161.B00
SMC Version (system): 2.41f1
System Version: macOS 10.13.6 (17G65)
Kernel Version: Darwin 17.7.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Xcode
Version 9.4.1 (9F2000)
Awesome video! XD
Nice!
BRILLIANT :D
Awesome tutorial! Problem solved, ty 😁
yes, brew install cocoapods worked on catalina 10.15.4
Is this something like yum on Linux? I am start with Flutter, and Dev Tools require CocoaPods to compile enable Flutter plugins to run in the native apps.
Is there a way to import cocoa pods and use them in a swift playground?
hahaha the ending 😂
had trouble with sudo gems install cocoapods.... brew install cocoapods worked fine
This is really cool bruh
its very troublesome for EL Capitan. please provide detailed steps. sudo gem install cocoapods was not working, tried to fix it with sudo gem install -n/usr/local/bin cocoapods. then pod setup was stopping, ...what to do?
did the pod setup command take forever for anyone else? the video version had this complete quite fast...mine still appears to be thinking and it's been a few minutes
I found the solution to the MATE command problem!
Colin Caufield first referred me to TextMate.app. Also George Nachman replied and said it was probably TextMate they used. See here: stackoverflow.com/questions/4011707/how-to-start-textmate-in-command-line (or maybe, I suspect that because they had some other terminal app installed, it added the capability to iTerm2) Hopefully this helps the next person who follows this video.
Best v'deo for cocoapos especially if u are runnin macos on window as vm you are so damn stuck and U wanna punch pc then this vdeo makes u feel relax:)
The best tutorial! xD
Hilarious and super informative
When you discover Google actually wrote WandaVision before Marvel
I wish all tutorials were like this lmnl
Love it
// Podfile
// new syntax
platform :ios, '7.0'
target “TestPodProject” do
pod 'AFNetworking'
end
For macOS Sierra, (version 10.12.6), this work for me
sudo gem install -n /usr/local/bin cocoapods
I followed this, did the "sudo gem update --system" this is resulting in my system crashing with gem, getting permission denied errors - any clue what it could be?
After I was able to proceed, I then ran into another problem. Unlike the video, I entered the mate command and the response was:
mate: command not found
In my attempt to resolve the matter, I ran into the bug reporting page:
gitlab.com/gnachman/iterm2
With the notice:
iterm2
Issues site for iTerm2
Project ID: 252461
Mirrored from github.com/gnachman/iTerm2.git.
The repository failed to update 9 months ago.
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
What does this mean?
Me too (same error) "Error installing cocoapods:
activesupport requires Ruby version >= 2.2.2."
I stucked at "mate Podfile". it says -base mate:command not found
+gkchauhan6750 That's just the text editor I use (Textmate). Feel free to use whatever your favorite text editor happens to be.
what would the command be if i'm using the standard TextEdit?
i downloaded the text mate but the command is still not working
Is the process same for the M1macs?
same question here
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/fuzzy_match
Any ideas?
sudo gem install -n /usr/local/bin cocoapods
Would work ;)
That's it... Thank you!
after doing this, i executed the pod setup command several times, it stops at 1%,2%,...18%, 73%... in short, it is not getting complete.. what to do?
thanks i had the same prob
Getting : No such file or directory - /usr/location/bin
lol this is a tutorial video on steroid... great job, Google!
I LUV GOOGLE!
thanks dad
keep getting errors saying to update to ruby 2.2.2. how do i fix?
I can't get screencast to work , it says command not found
you need a dependency manager to install a dependency manager to install a dependency manager. No kidding, rvm to cocoapods to firebase.
Getting error: "Error installing cocoapods:
activesupport requires Ruby version >= 2.2.2."
Help?
tried it got this:
While executing gem ... (URI::InvalidURIError)
URI must be ascii only "?gems=cocoapods\u{feff}"
Also following along with the video around 7:34 I keep getting this error on the command line:
[!] The dependency `AFNetworking` is not used in any concrete target.
The dependency `GoogleAnalytics (~> 3.16)` is not used in any concrete target.
i am getting the error as well:
ERROR: Error installing cocoapods:
activesupport requires Ruby version >= 2.2.2.
i have the latest version; when i enter command "sudo gem update --system" i get the "Latest version currently installed. Aborting." message.
any ideas?
looks like i'm ok now. needed to first update gem by running sudo gem install active support -v 4.2.6 (or some version higher than whatever the error is giving). then i was able to use your modified code "sudo gem install -n/usr/local/bin cocoapods
i tried /king/local/bin cocoapods
Could not find a valid gem '/king/local/bin' (>= 0) in any repository
HELP!
ERROR: While executing gem ... (NoMethodError)
undefined method `request' for nil:NilClass
SAME, are you on apple silicon Mac?
Well you can go hunter2 your hunter2-ing hunter2!
+Todd Kerpelman the video references this very old bash.org transcript bash.org/?244321
Why would like to lose control of your project structure?
Came her for a boring tutorial, almost grabbed a popcorn
The acting and script were painful, but the point about Workspaces got me off the ground. 5/7
why dose the father remind me of robin Williams ?
The disparity between the dire humour and the excellent information is really getting to me.
This video made incredibly uncomfortable... It was informative though!
so gringy but done in a good way!
wound fully
Ya
Internet speed so fast!