You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file MQTTWebsocketTransport.m the compiler complains that it can't find 'SR_SSLPinnedCertificates' on NSMutableURLRequest. After adding #import "NSURLRequest+SRWebSocket.h" it works.
Environment
Operating system: iOS
Software version:
xCode: 13.0
macOS: 11.6
Package Manager: Cocoapods
MQTTClient version: 0.15.2
MQTT Broker used: MQTTClient/Websocket, SocketRocket, CocoaAsyncSocket, nanopb (don't know which one you are using, but that's the one imported by Cocoapods)
Steps to reproduce
create new project
import pod 'MQTTClient', '0.15.2'
import pod 'MQTTClient/Websocket', '0.15.2'
Setup everything
Build project
Expected behaviour
Project builds
Actual behaviour
Project does not build because Compiler complains 'SR_SSLPinnedCertificates' not found on NSMutableURLRequest
Other information
importing "NSURLRequest+SRWebSocket.h" to the "MQTTWebsocketTransport.m" file fixes the issue
The text was updated successfully, but these errors were encountered:
Short description
In the file MQTTWebsocketTransport.m the compiler complains that it can't find 'SR_SSLPinnedCertificates' on NSMutableURLRequest. After adding
#import "NSURLRequest+SRWebSocket.h"
it works.Environment
Steps to reproduce
Expected behaviour
Project builds
Actual behaviour
Project does not build because Compiler complains 'SR_SSLPinnedCertificates' not found on NSMutableURLRequest
Other information
importing "NSURLRequest+SRWebSocket.h" to the "MQTTWebsocketTransport.m" file fixes the issue
The text was updated successfully, but these errors were encountered: