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 ?

Answered by DTS Engineer in 769055022

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"

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

Accepted Answer

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"

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