The developer of a recently built, 12-unit apartment building in Union City has sold the property for more than $3 million, according to brokers with Marcus & Millichap.