ios – Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTTMessage.qos.setter : CocoaMQTT.CocoaMQTTQoS

0
18
ios – Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTTMessage.qos.setter : CocoaMQTT.CocoaMQTTQoS


I’ve an app, which is trusted customized SDK. Customized SDK has dependencies, included all dependencies in Podspec and customized framework/static lib ios.vendored_frameworks.

under is my pod spec

Pod::Spec.new do |s|

  s.title         = "SDK"
  s.model      = "1.0.1"
  s.abstract      = "SDK"

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

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

  

  s.frameworks="Safety"
  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/Safety', '~> 4.0'
    shared.dependency            'AFNetworking/NSURLSession', '~> 4.0'
    shared.dependency            'CocoaMQTT'
    shared.dependency            'Starscream', '~> 4.0.8'
    shared.dependency            'TrustKit'
    shared.dependency             'Firebase/Analytics'
  finish
finish

I get under error whereas constructing an app utilizing customized lib

enter picture description right here

Displaying All Errors Solely
Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTTMessage.qos.setter : CocoaMQTT.CocoaMQTTQoS

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTTMessage.string.getter : Swift.String?

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTT5Message.contentType.setter : Swift.String?

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTT5Message.willDelayInterval.setter : Swift.UInt32?

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTT5Message.willResponseTopic.setter : Swift.String?

Undefined image: enum case for CocoaMQTT.CocoaMQTTLoggerLevel.debug(CocoaMQTT.CocoaMQTTLoggerLevel.Sort) -> CocoaMQTT.CocoaMQTTLoggerLevel

Undefined image: enum case for CocoaMQTT.CocoaMQTTLoggerLevel.error(CocoaMQTT.CocoaMQTTLoggerLevel.Sort) -> CocoaMQTT.CocoaMQTTLoggerLevel

Undefined image: enum case for CocoaMQTT.CocoaMQTTLoggerLevel.warning(CocoaMQTT.CocoaMQTTLoggerLevel.Sort) -> CocoaMQTT.CocoaMQTTLoggerLevel

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTT5.connectProperties.setter : CocoaMQTT.MqttConnectProperties?

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTT5.join() -> Swift.Bool

Undefined image: dispatch thunk of CocoaMQTT.MqttDecodeConnAck.topicAliasMaximum.getter : Swift.UInt16?

Undefined image: dispatch thunk of CocoaMQTT.MqttDecodePubComp.reasonCode.getter : CocoaMQTT.CocoaMQTTPUBCOMPReasonCode?

Undefined image: dispatch thunk of CocoaMQTT.CocoaMQTT.subscribe(_: Swift.String, qos: CocoaMQTT.CocoaMQTTQoS) -> ()

Tried to take away the identical from swift interface and did not work

LEAVE A REPLY

Please enter your comment!
Please enter your name here