Not able to build an app after including framework/Static lib in the app

I have an app, which is depended on custom SDK. Custom SDK has dependencies, included all dependencies in Podspec and custom framework/static lib ios.vendored_frameworks.


here I sample of my pod spec
Pod::Spec.new do |s|

  s.name         = "SDK"
  s.version      = "1.0.1"
  s.summary      = "SDK"

  s.source                = { :git => "https://github.com/ABC/SDK.git", :tag => "v"+s.version.to_s  }

  s.platform              = :ios
  s.ios.deployment_target = '16.0'
  s.swift_version         = '4.2'
  s.static_framework      = true

  

  s.frameworks            = 'Security'
  s.frameworks            = 'CoreLocation'
  s.requires_arc          = true
  
  s.module_name           = 'SDK'
  
  s.library               = 'z'

  s.default_subspec = 'Shared'

  s.subspec 'Shared' do |shared|
    shared.ios.vendored_frameworks = 'SDKLib.xcframework'
    shared.dependency            'CocoaAsyncSocket', '~> 7.4'
    shared.dependency            'CocoaHTTPServer'
    shared.dependency            'SocketRocket', '~> 0.6'
    shared.dependency            'QNNetDiag'
    shared.dependency            'SAMKeychain'
    shared.dependency            'AFNetworking/Reachability', '~> 4.0'
    shared.dependency            'AFNetworking/Serialization', '~> 4.0'
    shared.dependency            'AFNetworking/Security', '~> 4.0'
    shared.dependency            'AFNetworking/NSURLSession', '~> 4.0'
    shared.dependency            'CocoaMQTT'
    shared.dependency            'Starscream', '~> 4.0.8'
    shared.dependency            'TrustKit'
    shared.dependency             'Firebase/Analytics'
  end
end

below error I am getting while linking lib

While someone may be able to offer assistance here, you should also inquire with the support resources for Cocoapods, as they are a third-party tool and the core of your question pertains to the configuration of their software.

Not able to build an app after including framework/Static lib in the app
 
 
Q