title: argument to 'NSDictionary' method 'dictionaryWithObjectsAndKeys:' should be an objective-C pointer type, not int
body: <pre><code>-(NSMutableArray*)getLSBGoalList
  {
      int userId = [[[AppManager sharedAppManager].userInfo objectForKey:USER_ID] intValue];
  
      NSString *query = [NSString stringWithFormat:@"SELECT * FROM tblLBGoal WHERE userId = %d ORDER BY groupId", userId];
  
      FMResultSet *rs = [database executeQuery:query];
      NSMutableArray *arrLSBGoals = [NSMutableArray array];
      while([rs next])
      {
          NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                [NSNumber numberWithInt:[rs intForColumn:@"lbGoalId"]], @"lbGoalId",
                                [NSNumber numberWithInt:[rs intForColumn:@"groupId"]], @"groupId",
                                [NSNumber numberWithInt:[rs intForColumn:@"userId"]], @"userId",
                                [rs stringForColumn:@"uuid"],@"uuid",
                                [NSNumber numberWithInt:[rs intForColumn:@"dataSyncType"]], @"dataSyncType",
                                [NSNumber numberWithInt:[rs intForColumn:@"idealValue"]], @"idealValue",
                                [NSNumber numberWithInt:[rs intForColumn:@"targetValue"]], @"targetValue",nil,
                                [NSNumber numberWithInt:[rs intForColumn:@"isTargetSet"]], @"isTargetSet",nil];
  
          [arrLSBGoals addObject:dict];
      }
      return arrLSBGoals;
  }
  </code></pre>
  
  <p>I am using the above code and when I analyse my project I got a warning, <code>Argument to 'NSDictionary' method 'dictionaryWithObjectsAndKeys:' should be an objective-C pointer type, not int</code>. Analyser show me the below way to fix it but I can't understand what to do. Can anybody please help me.<img src="https://i.stack.imgur.com/l4Agw.png" alt="enter image description here"></p>