XCode 9 has turned on by default the -Wstrict-prototypes, which causes the warning "This block declaration is not a prototype" when you have a block declaration with empty parenthesis:
void (^)(). The recommended fix is to explicitly declare the argument void void (^)(void). Also check the answer here