<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: haidernayyar</title>
    <description>The latest articles on DEV Community by haidernayyar (@haidernayyar).</description>
    <link>https://dev.to/haidernayyar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F728969%2F9d05d00a-7098-436e-bb25-27dd2c4bd660.png</url>
      <title>DEV Community: haidernayyar</title>
      <link>https://dev.to/haidernayyar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/haidernayyar"/>
    <language>en</language>
    <item>
      <title>zsh: command not found: pod </title>
      <dc:creator>haidernayyar</dc:creator>
      <pubDate>Sat, 06 Nov 2021 12:53:10 +0000</pubDate>
      <link>https://dev.to/haidernayyar/zsh-command-not-found-pod-37bj</link>
      <guid>https://dev.to/haidernayyar/zsh-command-not-found-pod-37bj</guid>
      <description>&lt;p&gt;In my react-native project, I had already cocoapods installed but there was version conflict to my project. So I start searching for a way to install cocoapods specific version ( 1.10.1 ) at the time of writing cocoapods is at version 1.11.2.&lt;/p&gt;

&lt;p&gt;I didn't find any way to install specific version with Homebrew but I found very good command.&lt;br&gt;
&lt;code&gt;sudo gem install cocoapods -v 1.10.1&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But problem with this command is, whenever I ran &lt;code&gt;pod install&lt;/code&gt; I got &lt;code&gt;zsh:command not found: pod&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Work around
&lt;/h2&gt;

&lt;p&gt;Run command &lt;code&gt;gem install cocoapods -v 1.10.1&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;If you get the error "ERROR: While executing gem ... (Errno::EPERM); Operation not permitted - /usr/bin/fuzzy_match" then try: &lt;code&gt;$ sudo gem install -n /usr/local/bin cocoapods&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and now you are good to go...&lt;/p&gt;

&lt;p&gt;Enjoying coding in React Native.&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
