The scrap began in March 2010, when Apple filed patent infringement suits against HTC in U.S. federal court in Delaware and with the International Trade Commission, The New York Times said.
In a joint release issued Saturday night, the chief executive officers said the deal was struck to dismiss all lawsuits against one another and establish a 10-year license agreement.
Other details of the agreement were not disclosed.
Apple won a similar patent infringement lawsuit against Android-maker Samsung and was awarded more than $1 billion by a jury in August, although that decision is under appeal.
Exploding whale video goes viral on Internet
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'