iPhone 7 run issue

Approximately I was waited 1 to 2 hours.
But that was not completed.

@Sivani
It should not take anywhere near that long.

How much memory does your Mac have?

8 GB 2133 MHz LPDDR3

OK would that be a 2017 MacBook Pro?

MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)

@Sivani
It should run OK with macOS Big Sur and Xcode 13. 16Gb of RAM would certainly be better than 8Gb but that’s what you’ve got.

How much free HD space do you have?

60GB space

What version ios is your iPhone 7? And what is the minimum deployment target for your Xcode project?

iOS 15 and deployment target in xcode is 12

It’s a long shot, but have you tried rebooting the Mac?

I just looked at your screenshot, this looks like a test project. If you create a brand new project and set the deployment target to iOS 12, does the same thing happen?