Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 223
Mohammed Shaheen Avatar asked May 08 '26 06:05

Mohammed Shaheen


2 Answers

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.

like image 167
Mohammed Shaheen Avatar answered May 09 '26 22:05

Mohammed Shaheen


solution 1: delete [Build Settings] enter image description here

solution 2: create a folder named: Preview Content.

like image 33
ibamboo Avatar answered May 09 '26 22:05

ibamboo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!