nil
treated as ((void*)0)
and has pointer type, but NSJSONReadingOptions
(as an enum) is a integer type.
replace options:nil
by options:0
EX :
categorias_first = [NSJSONSerialization JSONObjectWithData:data_for_first_connection options:0 error:nil];
........