Tim Cook opens the doors to an excited crowd as the Manhattan 5th Ave Apple store reopens.

Tim Cook opens the doors to an excited crowd as the Manhattan 5th Ave Apple store

Apple fanatics who queued up outside the tech giant’s revamped Fifth Avenue store to buy the new iPhone 11 got a surprise on Friday morning, as chief executive Tim Cook stopped by for a visit.

The CEO flew in from the company’s Cupertino, Calif. headquarters to officially open the doors of Apple’s iconic glass cube, which had been shuttered for two-and-a-half years as the subterranean retail space received a major facelift.

Cook handed out high fives and selfies to the first iPhone 11 customers, and greeted hundreds of customers who had lined up since the early morning to buy a new phone.

The plaza on Fifth Avenue was packed with throngs eager iPhone customers, most of whom faced wait times bordering on two hours to get into the store — even with reserved time-slots to pick up their phones.

The intensity was matched around the world, with Apple stores in cities like Singapore and Sydney also seeing lines stretch around the block.

Indeed, enthusiasm for the new phone didn’t appear to be dented as a Spanish cybersecurity expert claimed Friday that Apple knowingly rolled out its new iPhone operating system iOS 13 with a security flaw that could expose the names and phone numbers of a user’s contacts.

Jose Rodriguez says he contacted the tech juggernaut on July 3 to tell them about the bug he discovered which would allow hackers to bypass the iPhone’s lockscreen to access the phone’s address book and view contact information, according to CNN.

Apple reportedly “promptly followed-up” on the tip and had him detail the flaw, but did not immediately issue a patch. Apple’s patch will be a part of iOS 13.1, which will be rolled out on Tuesday.

Apple has more than doubled the Fifth Avenue store’s original 32,000-square-foot space to more than 77,000 square feet, according to MacRumors.

Earlier this month, the company unveiled a revamped, rainbow-colored version of the iconic 32-foot glass cube that marks the entrance to the store — a sleek structure whose design was meticulously overseen by founder Steve Jobs.