Ever since I updated my Xcode to 14.0, when I run my MacOS app it shows up on the dock for a second and then disappears. The App is still running however if I click away it stays hidden. I never had this problem in Xcode 13.
Replicating this bug:
- Run App on Xcode
- App shows up on Dock and bounces
- App disappears on Dock
- App is still running
- Clicking out of App causes the app to disappear
- Pressing F3 to find the app in the background, if I click it, the app vanishes
CodePudding user response:
Found the issue. When I created another target, it was the same name as the MacOS file except a capitalized letter on it. Seems that it confused git and overwritten the MacOS file
CodePudding user response:
Startup or boot your Mac in the safe mode!
Here is the link to follow: