Was working. Bug in Xcode