Skip to main content
Question

Deploying Xcode 8 via Self-Service - a how-to


Show first post

35 replies

Forum|alt.badge.img+18
  • Esteemed Contributor
  • 831 replies
  • August 24, 2017

Question to @franton @donmontalvo @RobertHammen ,
Lets say this was not done through self service, would this script then have to be run per user at login? Or could we run the bulk of the script once and just have users added to the developer group at login? Since all the users are not logged in yet, my question is the script adding any user created after the script is run to the developers group or does this have to happen as they login and get created?

Gabe Shackney
Princeton Public Schools


Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • August 24, 2017

Nope, you run this exactly once. Nothing user specific in my script.


donmontalvo
Forum|alt.badge.img+36
  • Legendary Contributor
  • 4293 replies
  • August 25, 2017

+1

@franton will we see you at this year's JNUC?


Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • August 25, 2017

October 26th, 11:30am in the Greenway Ballroom. I'm the Smart Card talk :D


Forum|alt.badge.img+1
  • New Contributor
  • 9 replies
  • April 5, 2018

I wrote a tool today that should help others to download and ultimately install Xcode simulators via pkg installations. It's called "makexcodesimulators".

This has only been tested with Xcode 9.3 but it should theoretically work on older versions. Hope it helps.

makexcodesimulators


Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • April 5, 2018

@eng that's very nice. nice work! I ended up approaching things from a different angle and I now include this code with my org's finalisation script. It allows non admin users to install the same products by themselves. I have not found any adverse effects from this ... yet.

# alter authorisation database to allow installation of apple components without admin rights
security authorizationdb read system.install.apple-software > /tmp/xcode.plist
defaults write /tmp/xcode.plist rule -array authenticate-session-owner-or-admin
security authorizationdb write system.install.apple-software < /tmp/xcode.plist

Forum|alt.badge.img+1
  • New Contributor
  • 9 replies
  • April 5, 2018

Our users are admins, but we have "build servers" to test our apps prior to release.

We needed something that could be fully automated and unfortunately I had to figure out what it is that Xcode was doing.

This tool will parse out all of the simulators available for your version of Xcode and allow you to download them. After it downloads, it wraps the original Apple installed with productbuild using the customLocation key to allow the package to properly install. But the original package still has its signing certificates in case Apple is validating this somewhere else.

I imagine Apple uses relative links because they have changed the install path three times now, but my hope is the current folder is now the permanent one (/Library/Developer/continue/long/path)


stephaniemm77
Forum|alt.badge.img+5

Hello Anyone know if this script still works in 10.4?


Forum|alt.badge.img+7
  • Contributor
  • 57 replies
  • March 13, 2020

@stephaniemm77 @eng the script doesn't work anymore. It was the greatest help indeed. I hope @eng will revisit it.


Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • February 25, 2023

This thing is over seven years old now. Good chance anything that old is not likely to work anymore.

I'll not likely be revisiting it because my current employer allows full admin rights to developers, so it's not required.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings