I'm currently trying to make a connection from my iOS app to a MySQL database using OHMySQL but i seem to have a problem.
The query:
OHMySQLQueryRequest *query = [OHMySQLQueryRequestFactory INSERT:@"tasks" set:@{ @"name": @"Something", @"desctiption": @"new task" }];
NSError error;
[queryContext executeQueryRequest:query error:&error];
Before building i get an error saying:
NSError error; Interface type cannot be statically allocated
The system gives a suggestion to add * before the error, i've tried doing that but i get an error saying framework not found
Anyone maybe encountered this error and know what would be the fix? Thanks!