xcodedebuggingswiftuierror-handling

Xcode is damaged and refuse to run the code


When I press "Build" and/or "Run" buttons in Xcode (SwiftUI), it shows me an error and I get this message:

One of the paths in DEVELOPMENT_ASSET_PATHS does not exist: /Users/mohammedshaheen/Downloads/Clicker/Clicker/Preview Content


Solution

  • This worked with me! If the file "Preview Content" is not existing in your main project file, just create a new file called "Preview Content".

    And the name is based on what is shown to you.