I found the answer myself.
Besides cleaning and building the project again and all that I described above. You must also delete the app in the iPhone simulator and then build it again! After that it works perfectly.
Talk about making it simple Apple…