Beijing warned that ­attempts by Taiwan to resist unification with the mainland would be in vain, the SCMP reports.