Heir apparent has 2 different meanings across 1 category:
Noun
an heir whose right to an inheritance cannot be defeated if that person outlives the ancestor
Someone who will definitely inherit if surviving the one whose property is to be inherited.