A developer plans to build a five-story affordable apartment complex on a vacant lot in south Sacramento.