I'm encountering an issue while trying to build my iOS app in Xcode for the simulator.
Issue:
- Xcode Version: 15.x
- macOS Version: 14.x (Sonoma)
- Simulator: iPhone 16 Pro
- Error Message:
Command ClangStatCache failed with a nonzero exit code
Steps Taken:
- Cleaned build folder (
Shift + Cmd + K
) - Deleted DerivedData (
rm -rf ~/Library/Developer/Xcode/DerivedData
) - Updated Xcode and checked iOS SDK updates
- Disabled Clang Static Analyzer Cache
None of these steps resolved the issue. Any help would be appreciated!
Thanks in advance.