title: Error installing AFNetworkActivityLogger with AFNetworking 4.0 - Cocoapods
body: <p>I get this message after submitting my app to App Store Connect.</p>
  
  <blockquote>
    <p>ITMS-90809: Deprecated API Usage — Apple will stop accepting
    submissions of apps that use UIWebView APIs When upload myApp</p>
  </blockquote>
  
  <p>It tells me that my project is using WebView (deprecated library). I found the problem in AFNetworking library, after going to this <a href="https://github.com/AFNetworking/AFNetworking/issues/4428" rel="nofollow noreferrer">page</a> they report that version 4.0 this problem was corrected, so when I update my pod and run the pod install I receive the following error.</p>
  
  <pre><code>[!] CocoaPods could not find compatible versions for pod "AFNetworking/NSURLSession":
    In snapshot (Podfile.lock):
      AFNetworking/NSURLSession (= 4.0.1)
  
    In Podfile:
      AFNetworkActivityLogger (from `https://github.com/AFNetworking/AFNetworkActivityLogger.git`, branch `3.0.0`) was resolved to 3.0.0, which depends on
        AFNetworking/NSURLSession (~&gt; 3.0)
  
  Specs satisfying the `AFNetworking/NSURLSession (= 4.0.1), AFNetworking/NSURLSession (~&gt; 3.0)` dependency were found, but they required a higher minimum deployment target.
  </code></pre>
  
  <p>I really don't understand why or how to fix it, I already checked the AFNetworkActivityLogger Git project since here the cocoapods indicates that problem. On their <a href="https://github.com/AFNetworking/AFNetworkActivityLogger/pull/61" rel="nofollow noreferrer">page</a> they mention that the problem is resolved in an update, however I cannot update this library so I got stuck at this point. I hope you help me, thanks in advance.</p>
  
  <p>I share my pod so they can review it.</p>
  
  <pre><code>platform :ios, '10.3'
  
  inhibit_all_warnings!
  use_frameworks!
  
  end
  
  def common_pods
      pod 'AFNetworking', '~&gt; 4.0'
      pod 'AFNetworkActivityLogger', :git =&gt; 'https://github.com/AFNetworking/AFNetworkActivityLogger.git', :branch =&gt; '3.0.0'
  end
  
  
  target 'PardosChicken' do
      common_pods
  end
  
  target 'PardosChickenTests' do
      pod 'OCMock'
      pod 'Specta'
      pod 'Expecta'
  end
  </code></pre>