novastone-media / MQTT-Client-Framework

iOS, macOS, tvOS native ObjectiveC MQTT Client Framework
Other
1.84k stars 459 forks source link

MQTTClient/Websocket no longer builds #596

Open RockLobster opened 2 years ago

RockLobster commented 2 years ago

Short description

MQTTClient.podspec declares a dependency on SocketRocket but without declaring a version. Last night SocketRocket got updated and now MQTTClient/Websocket no longer builds.

Environment

Link to logs

GIST

Steps to reproduce

  1. Create a new project with a Podfile containing
    pod 'MQTTClient/Websocket', '0.15.3'
  2. Run pod update
  3. Try to build the project

Expected behaviour

Build succeeds

Actual behaviour

Build fails because it can't build MQTTWebsocketTransport.m

RockLobster commented 2 years ago

Workaround: In your Podfile also add a dependency on SocketRocket 0.5.1

sivasubm1 commented 1 year ago

If my socketRocket is '0.6.0' and MQTTClient/Websocket is 0.15.3 , i am getting error build: Property 'SR_SSLPinnedCertificates' not found on object of type 'NSMutableURLRequest *'

My Podfile has -

pod 'MQTTClient' pod 'MQTTClient/Websocket', '~> 0.15.3' pod 'SocketRocket', '0.6.0'

if i change socketRocket to '0.5.1' and MQTTClient/Websocket is 0.15.3 , i am getting below error

CocoaPods could not find compatible versions for pod "SocketRocket": In Podfile: FlipperKit/Core (= 0.125.0) was resolved to 0.125.0, which depends on SocketRocket (~> 0.6.0)