I recently ran into the below error in Xcode 13 when I changed the iOS Deployment Target from 15.2 to 15.0 and tried to do a build.

iOS Deployment Target
<unknown>:0: error: compiling for iOS 15.0, but module 'TARS'
has a minimum deployment target of iOS 15.2: /Users/user/Library/
Developer/Xcode/DerivedData/TARS-chjqqkjsdfsfmxybsuyfeztt/
Build/Intermediates.noindex/
Solution:
Was able to fix this issue by going to Xcode Menu: Product > Clean Build Folder and doing the build again. You can also use Keybaord shortcuts: Shift + Command + K

Clean Build Folder Xcode
More Posts related to iOS,
- Turn Off Auto-Brightness on iPhone running iOS 16
- [fix] iCloud - Verification Failed: An unknown error occurred Apple ID
- How to initiate a photo request on iPhone from Mac Monterey
- What does has notifications silenced in Messages App mean in iPhone
- Release Date and iPhone Devices that will Support iOS 16
- How to Show Battery Percentage inside iPhone 12-14 Battery Indicator?
- How to clear Cache, Cookies and History on iPhone Safari
- How to Sync iPhone with iPad
- How to know the MAC address of iPhone/iPad Wifi
- How to reset AirPods or AirPods Pro using iPhone/iPad or iPod
- Xcode 13 - unknown error compiling for iOS 15.0 but module has a minimum deployment target of iOS 15.2
More Posts:
- Maven Unsupported major.minor version 51.0 - Java
- Error: Unable to access jarfile jarFileName.jar file [Windows] - Java
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. - SharePoint
- [Fix] Docker Run unknown shorthand flag: 'r' in -rm - Docker
- How to install Node using Brew on Mac - MacOS
- How to clear MySQL Console Screen - MySQL
- Android xml error Attribute is missing the Android namespace prefix [Solution] - Android
- How to share SharePoint site or document with all users in organization - SharePoint