Posted on 09-10-2021 08:30 AM
Has anyone had issues updating Xcode to version 12.5.1 on Big Sur computers or even just installing either automatically or via Self service? Automatically does not run at all and Self Service simply states -Error
Posted on 09-10-2021 09:50 AM
I notice this with larger applications like Xcode, Final Cut, etc. Typical behavior we see is the app will error in Self Service multiple times. You may notice an app stub (30MB or so) for Xcode appear in /Applications. Eventually, the application will install and appear as the full size.
With that said, if anyone has any other tips besides trying multiple times and waiting I am all ears.
Posted on 09-13-2021 01:12 AM
It is not working for me at all... no stub at all! Really troublesome... Final Cut works fine
Posted on 09-14-2021 03:00 PM
If you look at the device inventory in Jamf Pro and look at the Management Commands for the device, do you see any failed events? I currently have this issue with MS Excel, License not found. Plenty of licenses available looks to be some sort of communication issue.
Posted on 09-17-2021 01:58 PM
Same issue. 12.5.1 via self-service appears to time out without any fanfare, but the end result is that Xcode is not installed and no error is given. Subsequent attempts result in a "failed" error.
Posted on 09-30-2021 12:04 PM
I get for Xcode Duplicate request as failure but I didn't requested more than once.
Posted on 10-05-2021 10:42 AM
What is seen here, is that on XCode install from "Self Service" it shows an error ("Failed").
This operative leaves that, and then as root in the terminal:
find /private -name '*.pkg' 2>/dev/null
You'll see it there (if the VPP god is smiling on you) with a randomized filename and when run again you'll see it's still alive, downloading... file size growing. When a bit more than 11 Gigs, and stops increasing in size, run:
installer -pkg /private/var/...{whatever} -target /
Even that may take 20-30 minutes to complete, but usually does.
The mistake is in taking the Error at face value and clicking "Install" again, or "Open" (which sometimes appears), all is muddied in that case...
Posted on 10-22-2021 06:22 AM
I believe I am seeing the same issue, although waiting the 20-30 minutes I am not seeing the install. I even let the Macbook sit overnight and no XCode has loaded.
Based on your post, some clarifications:
1. When you are mentioning the "find /private -name '*.pkg' 2>/dev/null" typed into terminal, is there anything typed before this line? I tried exactly as typed and I don't get any response in Terminal just a new line.
2. If I did take the Error at face-value and clicked Open and then Install after the failed notification, is there a way for the Mac to forget my previous mistake?
Thanks for any support. This is the first one I am seeing, but also the first one that I have tried installing on Big Sur.
Posted on 10-22-2021 06:25 AM
I take all that back. I go to cancel the "Duplicate Request" command in my JSS and Self Service switched the XCode app to Open and it is not in my Launchpad. I also ran a sudo jamf recon, but I believe I started running that after the XCode appeared.
Posted on 10-22-2021 06:36 AM
As mentioned in the post, the find command must run as 'root' so you likely want to prepend the command with sudo e.g.:
"sudo find /private..."
The "2>/dev/null" part sends errors to oblivion so what is likely seen as "new line" output is likely "permission denied."
Sounds like you got it going... this XCode install is most unintuitive behaviour.
10-05-2021 12:51 PM - edited 10-05-2021 12:52 PM
@craig_sadler it resolve, It was just matter of time. After certain time it finish the install from VPP account. thanks for your reply.
Posted on 01-20-2022 11:18 AM
I'm doing the whole Xcode dance right now. Anyone have any updates on this issue for their systems? I have a few that I can't tell if I might as well just wipe at this point because I tried to install it after the initial failed message.