XCTest.framework/XCTest was built for newer macOS version (11.0) than being linked (10.15)

Hi, i have strange error on my xcui test. When i run test on macOS BigSur with xcode 13.2.1, everything works fine. But, same xcode, same macos sdk but macOS Monterey and i got error about incompatibile XCTest framework. Please how to solve this? Thank you

XCTest.framework/XCTest was built for newer macOS version (11.0) than being linked (10.15)
 
 
Q