# "Show Live Issues" problem in Xcode with CMake generator and possible improvement

**URL:** https://discourse.cmake.org/t/show-live-issues-problem-in-xcode-with-cmake-generator-and-possible-improvement/14176
**Category:** Development
**Tags:** os:macos, comp:clang, gen:xcode, tool:cmake
**Created:** [May 29, 2025, 11:49am UTC](https://discourse.cmake.org/t/show-live-issues-problem-in-xcode-with-cmake-generator-and-possible-improvement/14176 "2025-05-29T11:49:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Chinouo](https://discourse.cmake.org/user_avatar/discourse.cmake.org/chinouo/32/5589_2.png) [@Chinouo](https://discourse.cmake.org/u/Chinouo)
#### Post date: [May 29, 2025, 11:49am UTC](https://discourse.cmake.org/t/show-live-issues-problem-in-xcode-with-cmake-generator-and-possible-improvement/14176/1 "2025-05-29T11:49:15Z")

</div>

By default, CMake generates a `.xcodeproj` file, Xcode can index the code properly, but the **Show Live Issues** feature doesn’t work with this file. Code issues are only shown after building,

However, if I create a new Xcode workspace in a different directory (not the same one as the generated `.xcodeproj`), and then add the CMake-generated `.xcodeproj` file to the workspace (either by copying or moving it), everything works as expected — including **Show Live Issues**.

I’m not sure what changes after adding it to a workspace, but perhaps the CMake Xcode generator could be improved by that.

CMake Version: 4.0.2  
Xcode : Version 16.0 (16A242d)  
System: MacOS 15.5 (24F74)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 20, 2025, 2:47am UTC](https://discourse.cmake.org/t/show-live-issues-problem-in-xcode-with-cmake-generator-and-possible-improvement/14176/2 "2025-07-20T02:47:03Z")

</div>

Given the rigorousness of the lack of documentation for Xcode project files, we’d really need to know what is actually different between the two cases so that we could generate projects supporting this behavior.
