Parth Dasawant
Parth Dasawant

Reputation: 119

cannot preview in this file - the request to open "com.apple.dt.CcodePreview" failed

Xcode version 14.3.1 Minimum Deployments 16.4

The problem started when I moved the Xcode to Applications(previously it was in somewhere else).

Upvotes: 0

Views: 420

Answers (1)

Parth Dasawant
Parth Dasawant

Reputation: 119

Things I have tried and worked for me.

  • Cleaning Build Folder
  • Restarting Xcode
  • Restarting Macbook

Then Run following command in terminal.

xcrun simctl --set previews delete all

Open Xcode, Build the project.

Upvotes: 0

Related Questions