title: Receiver type 'FBSDKError' (aka 'enum FBSDKError') is not an Objective-C class
body: <p>Upon upgrading the Facebook SDK, I get an error.</p>
  
  <p>The resulting pods are:</p>
  
  <pre><code>Using FBSDKCoreKit (5.0.0)
  Using FBSDKLoginKit (5.2.3)
  Using FBSDKMarketingKit (5.0.0)
  Using FBSDKMessengerShareKit (1.3.2)
  Using FBSDKPlacesKit (5.2.3)
  Using FBSDKShareKit (5.2.3)
  Using Fabric (1.10.2)
  Using FacebookSDK (5.0.2)
  </code></pre>
  
  <p>I have upgraded the SDK like so in the Podfile and ran pod install:</p>
  
  <pre><code>pod 'FacebookSDK'
  pod 'FacebookSDK/LoginKit'
  pod 'FacebookSDK/ShareKit', '~&gt; 5.0.0'
  pod 'FacebookSDK/PlacesKit'
  pod 'FBSDKMessengerShareKit'
  </code></pre>
  
  <p>Expected:</p>
  
  <p>The project compiles.</p>
  
  <p>Actual:</p>
  
  <blockquote>
    <p>/Pods/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/Internal/FBSDKVideoUploader.m:78:11: Receiver type 'FBSDKError' (aka 'enum FBSDKError') is not an Objective-C class</p>
  </blockquote>