Fix macOS Error -47 from Xcode App Overwrite
Summary You can overwrite a macOS app bundle in /Applications from Xcode, but the app fails to launch with error -47 until you log out or reboot. The issue is caused by a stale file lock or cache held by Launch Services or Finder after the initial deployment. Root Cause Xcode copies the built bundle … Read more