Appium inspector is throwing an error

ios software version :14.5
Appium desktop Version: [Appium-mac-1.20.2.dmg]
desktop/releases/download/v1.20.2/Appium-mac-1.20.2.dmg)
Xcode version :Version 12.5 (12E262)

XCUIScreen screenshotDataForQuality:rect:error:]: unrecognized selector sent to instance 0x282809840",“traceback”:"(\n\t0 CoreFoundation 0x000000019894313c 373EC2DD-3A29-3E74-B85D-BE4EE925167A + 1159484\n\t1 libobjc.A.dylib 0x00000001ac656480 objc_exception_throw + 56\n\t2 CoreFoundation 0x0000000198852138 373EC2DD-3A29-3E74-B85D-BE4EE925167A + 172344\n\t3 CoreFoundation 0x0000000198945784 373EC2DD-3A29-3E74-B85D-BE4EE925167A + 1169284\n\t4 CoreFoundation 0x00000001989479ac _CF_forwarding_prep_0 + 92\n\t5 WebDriverAgentLib 0x00000001067df944 -[XCUIDevice(FBHelpers) fb_rawScreenshotWithQuality:error:] + 156\n\t6 WebDriverAgentLib 0x00000001067df810 -[XCUIDevice(FBHelpers) fb_screenshotWithError:] + 88\n\t7 WebDriverAgentLib 0x000000010677f358 +[FBScreenshotCommands handleGetScreenshot:]