You should use `BOOL`, not `bool`.