Unable to run on simulator with Xcode 9.0

2019-07-31 17:35发布

问题:

I am unable to run on simulator with XCode 9. I am getting this error.

Currently I am using macOS Sierra 10.12.6

回答1:

You mention you took it through airdrop. You must move the xcode.app to applications folder, then do this:

sudo xattr -d com.apple.quarantine /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app

You must make the gatekeeper let your xcode and simulator app to continue on using it without verifying it.