Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTTClient/Websocket no longer builds #596

Open
RockLobster opened this issue Aug 13, 2021 · 2 comments · May be fixed by #598
Open

MQTTClient/Websocket no longer builds #596

RockLobster opened this issue Aug 13, 2021 · 2 comments · May be fixed by #598

Comments

@RockLobster
Copy link

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

  • Operating system: iOS
  • Software version: Any
  • Package Manager: Cocoapods
  • MQTTClient version: 0.15.3
  • MQTT Broker used: Any

Link to logs

GIST

Steps to reproduce

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

Expected behaviour

Build succeeds

Actual behaviour

Build fails because it can't build MQTTWebsocketTransport.m

@RockLobster
Copy link
Author

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

@sivasubm1
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants