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.

<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 Keyboard shortcuts: Shift + Command + K

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to iOS,
- How to turn off 5G Network on iPhone
- iPhone network says SOS Only on Status Bar
- How to Recover Deleted Messages on iPhone
- How to take a Screenshot on iPhone with iOS 17
- Screen Mirroring iPhone to TV
- How to Find and View Stored Wi-Fi Password on iPhone
- Xcode 13 - unknown error compiling for iOS 15.0 but module has a minimum deployment target of iOS 15.2
- How to Turn on/off Flashlight on iPhone
- How to Show Battery Percentage inside iPhone 12-14 Battery Indicator?
- Release Date and iPhone Devices that will Support iOS 16
- How to Change the Name of your iPhone (Updated for iOS 17)
- How to Change Name on iPhone under Settings
- How to clear Cache, Cookies and History on iPhone Safari
- Fix: No Internet Connection on iPhone WiFi Network
- How to know the MAC address of iPhone/iPad Wifi
- How to enable Wifi Calling on iPhone
- Turn Off Auto-Brightness on iPhone running iOS 16
- How to Sync iPhone with iPad
- How to reset AirPods or AirPods Pro using iPhone/iPad or iPod
- How to know your iPhone Model Name
- What does has notifications silenced in Messages App mean in iPhone
- How to know if you are on iOS 17 on your iPhone
- How to initiate a photo request on iPhone from Mac Monterey
- Quick Fix: How to Force Restart Your iPhone
- How to unpair an Apple Watch with an iPhone
More Posts:
- Java was started but returned exit code=13 [Eclipse] - Eclipse
- How to Auto Save a file in Notepad++ - NotepadPlusPlus
- Java - How to set custom thread name? - Java
- How to create Gradle Multi-Project in IntelliJ - Gradle
- How to Copy Entire Directory to another Directory in Linux - Linux
- C#.Net error The underlying connection was closed: An unexpected error occurred on a send - SharePoint
- 21: Program to Delete File or Folder in Python - Python-Programs
- Increase Android Emulator Timeout time - Android