Hello Guys,
As title ,We encounter this question very similar to this post
https://community.jamf.com/t5/jamf-pro/xcode-running-as-a-non-admin/m-p/211456
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
Xcode-download iOS simulators bypass entering admin password
Best answer by honestpuck
Andy,
Look at my repo: https://github.com/Honestpuck/developer_tools and there are some useful tools including a way to install the iOS simulators through a Jamf Pro script and policy. The secret is the tool 'xcode-install' which lets you do that sort of stuff.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
