I am experiencing this very strange problem and I really don't know why this happens.
I am using a third party MQTT Client lib called MQTTKit. I am using it to build an MQTT client that connects to my broker using SSL/TLS. The author said in his blog that if I am going to use the lib together with the methods for TLS support, I'll have to add WITH_TLS=1 this macro to the build settings.
So I did what he said.
But when I compile and run the program, I got a crash stating that the method for TLS support was unrecognized. But how come there were no compiler problems when I built the app? Then it just got crash and say that the selector was not found? I don't understand this.
The problem was solved after setting WITH_TLS=1
macro on the libMQTT target and rebuilt libMQTT.a