Posted on 10-27-2016 07:09 PM
Hey Guys,
We removed our admin rights from our developers :(
Because of this xcode seems to have some issues that im dealing with at this point
We are running a script (found on jamfnation) which basically alleviates most issues as it puts the user in the developer group and gets rid of all initial prompts
One of the problems we are faced with is
When clicking xcode --> Preferences --> Components --> and we attempt to download any of the ios simulators we are faced with a username/password admin prompt :(
Im sure there are many people here whom overcame this issue as we are not the only company to remove a developers admin rights, without impeding their ability to work
Solved! Go to Solution.
Posted on 10-27-2016 11:44 PM
Hello,
You need to download the simulators within Xcode then repackage them for deployment. Here is the basic process which I use to deploy them :
pkgutil --expand ~/Desktop/Simulators/Original PKG/AppleTVSimulatorSDK9_1.pkg ~/Desktop/Simulators/AppleTVSimulatorSDK9_1
<pkg-info install-location="/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS 9.1.simruntime" auth="root"
pkgutil --flatten ~/Simulators/AppleTVSimulatorSDK9_1 ~/Desktop/Simulators/tvOS 9.1 Simulator.pkg
Now to track who has which simulator installed I created an extension attribute with the name of the simulator i.e "tvOS 0.1 Simulator".
#!/bin/sh
Path="/Library/Developer/CoreSimulator/Profiles/Runtimes"
cd $Path
CoreSimulator="tvOS 9.1.simruntime"
if [ -d "$CoreSimulator" ]; then
echo "<result>Installed</result>"
else
echo "<result>Missing</result>"
fi
I also change the group ownership of Xcode to _developer and make sure that the users are in this local group.
regards
Steve
Posted on 10-27-2016 11:44 PM
Hello,
You need to download the simulators within Xcode then repackage them for deployment. Here is the basic process which I use to deploy them :
pkgutil --expand ~/Desktop/Simulators/Original PKG/AppleTVSimulatorSDK9_1.pkg ~/Desktop/Simulators/AppleTVSimulatorSDK9_1
<pkg-info install-location="/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS 9.1.simruntime" auth="root"
pkgutil --flatten ~/Simulators/AppleTVSimulatorSDK9_1 ~/Desktop/Simulators/tvOS 9.1 Simulator.pkg
Now to track who has which simulator installed I created an extension attribute with the name of the simulator i.e "tvOS 0.1 Simulator".
#!/bin/sh
Path="/Library/Developer/CoreSimulator/Profiles/Runtimes"
cd $Path
CoreSimulator="tvOS 9.1.simruntime"
if [ -d "$CoreSimulator" ]; then
echo "<result>Installed</result>"
else
echo "<result>Missing</result>"
fi
I also change the group ownership of Xcode to _developer and make sure that the users are in this local group.
regards
Steve
Posted on 11-02-2016 06:49 AM
Thanks so much for this info
Posted on 11-02-2016 07:09 AM
.
Posted on 11-02-2016 12:39 PM
.
Posted on 10-25-2017 03:02 AM
Anyone had success installing & supporting Xcode 9.0?