Playground

My app runs with Xcode on real devices. However, when I try to run it on playground I get:
There was a problem running this playground. Please check your code and try again later.


There is no indication of where the error is. I started to reduce the code to discover the error but I havent been successful.