Plans for a 221-bed apartment block in a York city centre housing development have been approved despite existing residents’ concerns over traffic and an unfinished public space.