Ignoring return value of function declared with 'warn_unused_result' attribute
Using cocoapods with xcode 8.3.
happend me to after update Xcode 8.3
I can support the same issue when trying to push a new version of my library using SockeRocket:
pod trunk push
[!] Found podspec `MQTTClient.podspec`
Updating spec repo `master`
Validating podspec
-> MQTTClient (0.9.0)
- WARN | [MQTTClient/Websocket,MQTTClient/WebsocketL] xcodebuild: SocketRocket/SocketRocket/SRWebSocket.m:509:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
- WARN | [MQTTClient/Websocket,MQTTClient/WebsocketL] xcodebuild: SocketRocket/SocketRocket/SRWebSocket.m:629:13: warning: enumeration value 'NSURLNetworkServiceTypeCallSignaling' not handled in switch [-Wswitch]
- WARN | [MQTTClient/Websocket,MQTTClient/WebsocketL] xcodebuild: SocketRocket/SocketRocket/SRWebSocket.m:1485:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
[!] The spec did not pass validation, due to 3 warnings (but you can use `--allow-warnings` to ignore
Hey, can we please get a new release off of master to fix this? What's blocking a release?
Sooo many pods depend on SocketRocket, and everybody has to --ignore_warnings on their trunk pushes to get around this. Not to mention the thousands of apps that have build warnings thanks to these pods in turn. One and a half years ago you were going to push a new version.
If you're unable to maintain the pod, is it possible to add some more maintainers to the project? Us at Lookback can volunteer.