NSMutableArray *arr = [NSMutableArray array];
[arr addObject:@\"1\"];
[arr addObject:@\"2\"];
[arr addObject:@\"3\"];
// This statement is fine.
XCTAssertTrue(arr.c
One alternative is to just use casting:
XCTAssertEqual(arr.count, (NSUInteger)3, @"Wrong array size.");
It might be the best solution with the current state of the tools, especially if you have code where you're using XCTAssertEqual a lot and don't want to switch to XCTAssertTrue.
(I noticed @RobNapier made this suggestion in a comment.)