I have this problem with po in the console where trying to output a function works in itself, but outputting a variable or constant doesn\'t.
po
I set Swift Complier to "-O"
SWIFT_OPTIMIZATION_LEVEL = "-O";
and set it back to "-Onone".
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Then it works.