outcoldman / outcoldman.com

Personal website, blog. Powered by hugo.
https://www.outcoldman.com
11 stars 2 forks source link

Can't properly install Xcode 15 beta #1

Closed acercandrito closed 1 year ago

acercandrito commented 1 year ago

Hi! First of all, thanks for the awesome explanation to install Diablo IV on Mac Silicon. Sadly, I got stuck on the first steps because when I install Xcode 15 beta, I still can't find it anywhere and even the free space on my HD is the same before and after. Could you perhaps know what is going on? I'm running Ventura 13.4 on a M1 Pro 16GB.

Bitcoinite commented 1 year ago

Same issue for me.

Do we also need to install Xcode 15 Beta or only Command Line Tools for Xcode 15 Beta? I don't have any Xcode version installed. After installing Command Line Tools for Xcode 15 Beta, running xcode-select -p returns /Library/Developer/CommandLineTools

There isn't any Xcode.app or Xcode-beta.app in my /Applications/ folder.

If the installation of Xcode is necessary in the first place, then the second question would be what version? On the Apple dev page it says Xcode 15 Beta is only for macOS 14 beta.

Edit: I downloaded Xcode 15 Beta and installed it. It all seems fine now. I immideately ran into the next issue:

% softwareupdate --install-rosetta I have read and agree to the terms of the software license agreement. A list of Apple SLAs may be found here: https://www.apple.com/legal/sla/ Type A and press return to agree: a 2023-06-09 15:35:19.198 softwareupdate[5164:89899] Package Authoring Error: 032-84877: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute Install of Rosetta 2 finished successfully admin@MacBook-Air ~ % arch -x86_64 zsh arch: posix_spawnp: zsh: Bad CPU type in executable

outcoldman commented 1 year ago

Hey, those are weird issues. But I just shared my experience of how I did it and installed it, I would suggest asking questions at r/macgaming.

likidu commented 1 year ago

For this particular error arch: posix_spawnp: zsh: Bad CPU type in executable, you may run which zsh to check if the zsh you are using is coming from Homebrew in lieu of the default one from Apple. As brew only installed the target architecture version which by default is ARM64. A simple way to solve this is to brew uninstall zsh. And it will use the Apple's zsh then.