Xcode 7.1 : Simulator can't be opened because the identity of developer cannot be confirmed

Jayprakash Dubey picture Jayprakash Dubey · Oct 29, 2015 · Viewed 7.8k times · Source

I've upgraded my Mac OS X to 10.11.1 El Capitan. When I try to run app on Xcode 7.1 I'm getting an pop message stating "Simulator" can't be opened because the identity of the developer cannot be confirmed. Refer screenshot.

Why this message? I'm not able to test any app on Xcode 7.1.

Screenshot for error

Answer

buster picture buster · May 19, 2016

Gatekeeper requires that every application downloaded from the internet is verified. Since you downloaded "Simulator" with Safari it has to be checked and added to a list of accepted applications. Here is a quick way to do that:

  1. Run Terminal.app
  2. Enter the following command sudo xattr -d com.apple.quarantine /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app

I found the answer here.