Xcode 15 adding simulator runtime (xcrun simctl runtime add) , requires Security & Privacy approval

I am following the instructions at : https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes.

When I run

sudo xcrun simctl runtime add "/Users/<user_name>/Downloads/iOS_17.0.1_Simulator_Runtime.dmg"

I get an error :

(1) Operation not permitted
Accessing '/Users/<user_name>/Downloads/iOS_17.0.1_Simulator_Runtime.dmg' requires Security & Privacy approval.

I get the same error even if

  • Xcode in the Applications folder or the Downloads folder.
  • If the .dmg is mounted or not.

How can grant access to the .dmg ?

  • The run time can still be manually added though : https://lickability.com/blog/how-to-install-ios-17-simulators-in-xcode-15/

Add a Comment

Accepted Reply

I get an error :

If you put that .dmg somewhere that’s not your Downloads folder — say at the root of your home directory — does this work.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • Thanks ! It works when placed in the home directory.

Add a Comment

Replies

I get an error :

If you put that .dmg somewhere that’s not your Downloads folder — say at the root of your home directory — does this work.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • Thanks ! It works when placed in the home directory.

Add a Comment