Xcode to iPhone preview unsupported device 14.7.1

Hello, I'm trying to preview my app on my iPhone device but Xcode displays an unsupported device error... Xcode version 12.4 and iPhone device is an iPhoneXr 14.7.1... please provide solution for this issue. thanks

Replies

Xcode 12.4 supports iOS14.4 and earlier. Xcode 12.5 supports iOS14.5. Try searching Stackoverflow for xcode 12.4 unsupported version.