President Donald Trump and Apple CEO Tim Cook toured a Texas manufacturing facility on Wednesday, getting a glimpse of a factory used by Apple to assemble the Mac Pro desktop.

The tour was a public symbol of Trump's close relationship with Cook, and also provided an opportunity for the president to showcase a leading American company that's manufacturing in the U.S. as Trump struggles to put into place the first piece of a U.S.-China trade agreement.

"I would always talk about Apple, that I want to see Apple building plants in the United States, and that's what's happening," Trump said in a brief conversation with reporters after the tour. "And Tim Cook is someone I greatly respect."

The relationship between the two men has been cultivated over the past few years through dinners, meetings and Cook's membership on key presidential advisory councils.

Cook and Trump were joined by White House advisor Ivanka Trump and Treasury Secretary Steven Mnuchin, while in Washington, D.C., the House Intelligence Committee continued its impeachment hearings. Trump touched on the hearings in the briefing with the media.

The plant toured on Wednesday, operated by Flex, assembles the Mac Pro, a high-end computer that starts at $6,000. A previous model of the computer was made in the same facility starting in 2013. Apple doesn't own or operate its own manufacturing and instead contracts with companies like Flex. A Flex spokesperson declined to comment.