As title ,We encounter this question very similar to this post
Cus we have to remove admin right form users, so we're using script to solve most issues on Xcode like license agree ,add users to _developers and something like that.
But when we want to download iOS simulators ,it prompt out a window "Xcode is trying to install apple software"and ask for admin password.
We've tried the solution mentioned in that post, but encounter a error when extracting the payload of the .pkg .
Is there any method that we can solved this by script or other way?
Thank you guys for reading and answering this post.
*We're testing with Xcode12 on MacOS 10.15
Solved! Go to Solution.
Thank you for your scripts!
But for some security reason , we're not allowed to use Xcode-install.
And we finally figure out the solution mentioned in this post
Here is the solution that we use:
Xcode puts the simulators you have installed under /Library/Developer/CoreSimulator/Profiles/Runtimes. You can directly drag and drop the simruntime you want to pack to Jamf Composer. In this way, when you put it in the self-service portal, it will copy the simruntime file to the same directory in the end user and the user will be able to use the simulator.
PS. Since you are copying the opened packages, the process on the self-service may take a little longer. It is worth mentioning this in the self-service description pane.
Hope this helps,