When my program is not able to move a file to a different location I add the file name to an NSMutableArray. When the program finishes, and the array has a count of more the 0, I have an NSAlert display on the screen with a list of files that did not transfer. It works just fine, or as expected, but I get this warning. The part of the alert that takes the argument takes an NSString. I created an NSString but I get the error.
	
	
	
		
I did a Google search and found a number of these problems to figure it out first. I did try to use [NSString stringWithFormat
"%@,] but it still gave me the same problem. I'm pretty sure it is a formatting issue but I just can't put my finger on it.
Any help at this point would be appreciated.
	
		
			
		
		
	
				
			
		Code:
	
	-(void)transferAlertError{
    NSString *myArrayString = [[canNotTransferArray valueForKey:@"description"]  componentsJoinedByString:@", "];
    
    NSAlert *alert = [NSAlert alertWithMessageText:@"Files not copied because of duplicate names." defaultButton:@"Ok" alternateButton:nil otherButton:nil informativeTextWithFormat:myArrayString];
    [alert setAlertStyle:NSInformationalAlertStyle];
    [alert runModal];
}
	I did a Google search and found a number of these problems to figure it out first. I did try to use [NSString stringWithFormat
Any help at this point would be appreciated.