I thought Cruz said that the 14th amendment would need to be repealed and that enforcing current law was more important.
You are correct, and in this instance - Trump is correct - and the constitutional scholar is not.
The anchor baby situation can be fixed with simple legislation. Cruz initially supported an amendment, but seems to have softened his position on the remedy since Texas has refused babies born to illegals birth certificates.