Here is SQLite code which I call and pass one variable. Where is problem?
-(IBAction)insertPet:(NSString *) name{ NSString *query = [NSString stringWithFormat:
What worked for me was deleting the app from your device,restart the device,clean the app in Xcode then load it again,also check that Target Membership is selected on the database.