title: Why does my Podspec throws multiple: "Execution policy exception registration failed and was skipped" notes?
body: <p>Podspec is:</p>
  
  <pre><code>Pod::Spec.new do |s|
      s.name             = 'MyPod'
      s.version          = '0.1.0'
      s.summary          = 'my summary.'
      s.platform         = :ios, '13.0'
      s.description      = &lt;&lt;-DESC
    My description.
                           DESC
      s.homepage         = 'https://github.com/MyAccount/MyPod'
      s.license          = { :type =&gt; 'MIT', :file =&gt; 'LICENSE' }
      s.author           = { 'Me' =&gt; 'my@email.com' }
      s.source           = { :git =&gt; 'https://github.com/MyAccount/MyPod.git', :tag =&gt; s.version.to_s }
      s.swift_version    = '5.0'
      s.source_files     = 'MyPod/Classes/**/*'
      s.static_framework = true
  
      s.dependency 'Firebase'
      s.dependency 'Firebase/Core'
      s.dependency 'Firebase/Auth'
      s.dependency 'Firebase/Database'
      s.dependency 'GoogleSignIn'
      s.dependency 'GoogleAPIClientForREST/Core'
      s.dependency 'GoogleAPIClientForREST/Sheets'
      s.dependency 'GTMAppAuth'
    end
  </code></pre>
  
  <p>(<code>MyPod</code> etc are stand-ins for actual Pod name)</p>
  
  <p><code>pod lib lint MyPod.podspec</code> produces:</p>
  
  <pre><code> -&gt; MyPod (0.1.0)
      - NOTE  | xcodebuild:  note: Using new build system
      - NOTE  | [iOS] xcodebuild:  note: Planning build
      - NOTE  | [iOS] xcodebuild:  note: Constructing build description
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'nanopb' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'GoogleUtilities' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'GoogleDataTransport' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'leveldb-library' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'GTMSessionFetcher' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'GoogleDataTransportCCTSupport' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'AppAuth' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'FirebaseCoreDiagnostics' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'GTMAppAuth' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'GoogleAPIClientForREST' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'FirebaseCore' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'FirebaseInstanceID' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'FirebaseDatabase' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'FirebaseAuth' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'MyPod' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'Pods-App' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'App' from project 'App')
      - NOTE  | [iOS] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
  
  MyPod passed validation.
  </code></pre>
  
  <p>Environment:</p>
  
  <pre><code>CocoaPods version: 1.8.4
  Operating System: Catalina 10.15.1 Beta 
  Xcode version: 11.2
  </code></pre>
  
  <p>(I am aware of the similar question: <a href="https://stackoverflow.com/questions/58686708/execution-policy-exception-registration-failed-and-was-skipped-error-domain-nsp">Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 &quot;Operation not permitted&quot;</a>)</p>
  
  <hr>
  
  <p><strong>ADDENDUM</strong></p>
  
  <p>I just tried making a very plain Pod including the default dependency <code>AFNetworking</code> that is included (if commented out) in the .podspec file that is created by running <code>pod lib create MyPod</code>. Produces the same result:</p>
  
  <pre><code> -&gt; MyOtherPod (0.1.0)
      - NOTE  | xcodebuild:  note: Using new build system
      - NOTE  | [iOS] xcodebuild:  note: Planning build
      - NOTE  | [iOS] xcodebuild:  note: Constructing build description
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'AFNetworking' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'MyOtherPod' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'Pods-App' from project 'Pods')
      - NOTE  | [iOS] xcodebuild:  note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (in target 'App' from project 'App')
      - NOTE  | [iOS] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
  </code></pre>