skip to Main Content

Everytime I try to open up Xcode simulator I get this error

error build: unable to open dependencies file
(/Users/INSERTNAMEHERE/Library/Developer/Xcode/DerivedData/Musical-frliqdxsuhgvmmcypwrrrvihqtaa/Build/Intermediates.noindex/Musical.build/Debug-iphonesimulator/Musical.build/Objects-normal/arm64/AppDelegate.d)

I assume this is a problem with a simulator package of some sort, so how do I fix this.

2

Answers


  1. Once clear DerivedData and check.

    xCode preferences > location > DerivedData click arrow and automatically open derivedData folder . delete it and restart xCode.

    Login or Signup to reply.
  2. Xcode sometimes has issues with cached derived files, which may become inconsistent. Seems to happen sometimes after switching a VCS (Git) branch, for example.

    Clean the derived files for your current project by using the menu Product > Clean Build Folder or the corresponding keyboard shortcut Cmd+Shift+K, then build again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search