XCode 14 compile errors immediately disappear or do not appear at all

I'm unable to use XCode 14 to develop my app because as soon as a compiler error is shown, it is immediately withdrawn from the Issue Navigator pane. This makes it impossible to see what is wrong. The errors are also immediately withdrawn from the editor.

This video shows 3 attempts to compile the project: after the first attempt no error shows, after the second attempt the error shows for a moment then is automatically removed (no mouse or keypress from me), after the third attempt same.

https://youtu.be/bmK_k6oLYpQ

I have tried rebooting, and deleting ~/Library/Developer/Xcode/DerivedData, to no effect.

It seems you have set some filter on the alerts when compilation starts and you turn it off only after. Could you check that and turn the button off at start ?

Also experiencing this issue - the editor error linting is also not working

Did you try to suppress the warning about iOS 9 which is no more supported. Set the deployment target to iOS 11 , then try again. You can also have some information in the build log.

Also experiencing this issue.

In my case project min level is iOS 12 so that's not it

Experiencing this exact same issue, which makes it impossible to develop on Xcode 14.

Tried everything: rebooting the device, deleting derived data, caches, even all personal settings, but no lucky at all.

Also tried Xcode 14.1 Beta and Xcode 14.0.1 RC.

Interesting enough, I have a smaller project which DOES NOT uses Cocoapods and this issue is not present when working on that project.

Apple, Is there a fix for this?

I've got the same problem. Error messages are only available in the Report Navigator (cmd + 9). Which is very uncomfortable to work with and features like "fix" or "fix all" don't work. Tried 14.0.0, 14.0.1 RC, 14.1 Beta 2+3.

Same here and I also noticed that if you don’t have the file that contains the error opened, the error is showed and you can select it in the issue navigator. But when you open the file, the error or the warning disappear immediately.

By creating a new project and painstakingly moving the files/settings over one by one from my old one too see where it fails I found out that when I have more than 5 Configurations it starts to fail. It's rather random but it might give apple devs some clue on how to fix it. My project is using cocoapods.

When I removed the configurations, XCode continued to fail so it's not easy to reproduce. I also created a fresh project with the podfile from my big project but that one didn't fail on more than 5 configurations.

Only thing I know is that this is a pretty serious error and makes programming with XCode a complete nightmare.

Also facing this VERY annoying bug. Only tips I found is to go into the build log screen to find the actual error. On the left panel, select icon "Show Panel Panel Navigator" which is the right most icon. Then select the build which failed. That opens the build logs where the compiling errors are listed. A click on each error redirects to the culprit snippet. That's a tip, but very unhandy and would be glad to have a proper fix!

I also experience this problem. See it with XCode 14.0, XCode 14.0.1, and with XCode 14.1 beta 3

I also experience the same problem: it makes the workflow quite unpleasant. See it with XCode 14.0, XCode 14.0.1, and with XCode 14.1 beta 3

Please fix this.

Same problem.

Drastic measure (to make it at least somewhat usable): defaults write com.apple.dt.Xcode IDEIndexDisable -bool true

Same issue here

Guys are you also experiencing this issue with a M1 chip as well? I found that executing Xcode with Rosetta avoid that bug to occur. Maybe we loose a bit of performance but it's much more convenient to debug

In your Application folder, find Xcode, right click on it, then select "Show info". Here check the "Open with Rosetta" box. Restart Xcode if it was already opened.

Everything works great again on my side

Same issue. As soon as I click an error it immediately disappears. Also happening in the latest Xcode 14.1 beta 3 version

Same issue for me using Xcode 14.0.1 😫 (intel mac, 5+ configurations, and cocoapods in use)

I have the same issue. Xcode 14.0 using SPM, no external package manager. Discovered soon after upgrade to Xcode 14. Getting around this by using the Report Navigator as mentioned, but it's super annoying to work this way. The issue is not present in smaller projects. Apple, please prioritise fixing this.

Please fix asap!!!

I'm experiencing the same issue on a M1 machine with Xcode 14.0.1 and Xcode 14.1 beta 3 (Cocoapods + SPM)

Please Fix asap.

Seems to be solved in XCode 14.1 RC

XCode 14 compile errors immediately disappear or do not appear at all
 
 
Q