xcode-install: xcversion failures with MacOS 10.14.5 on XC 10.2.1

I have started to notice failures on 10.14.5 systems when installing Xcode 10.2.1

It seems to fail ( as in never progress ) with the following error:

2019-05-16 17:07:33.140 Archive Utility[13993:56922] In void modifyShouldRestoreOnRelaunchCounter(int32_t), _LSSetApplicationInformationItem(_kLSPersistenceSuppressRelaunchAtLoginKey) returned error -600
2019-05-16 17:07:40.227 Archive Utility[13993:56919] In -[NSApplication(NSQuietSafeQuit) _updateCanQuitQuietlyAndSafely], _LSSetApplicationInformationItem(NSCanQuitQuietlyAndSafely) returned error -600

I have tried multiple systems with same error. All systems were freshly formatted.

I’m running the command as follows: xcversion install --url=file:///${local_install_dir}/${__xc_xip} ${__xc_ver}

Thank you in advance!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Any news about this?

I received the following error when running xcversion install 10.2 on macOS 10.14.5:

%No Xcode.app(or Xcode-beta.app) found in XIP. Please remove /Users/administrator/Library/Caches/XcodeInstall/Xcode_10.2.xip if you suspect a corrupted download or run xcversion update to see if the version you tried to install has been pulled by Apple. If none of this is true, please open a new GH issue.

Xcode.app ended up in the Downloads folder and the license agreement wasn’t accepted.

I was using xcode-install-2.5.0.

Released 2.6.0

@segiddins I just added you to the xcode-install gem 👍

I need to double check if I have push access on RubyGems.org. If I do, I can look into doing a release sometime in the coming week

Following up to my comment from a couple days ago…

The “hanging” behavior that I found and was able nudge past with the steps I provided seems to be due to a difference in how this issue manifests on Catalina 10.15. I had a user install on Mojave 10.14.5 and my steps weren’t helpful there. I’m not sure what if any error occurred, but the Xcode-beta.app was sitting in ~/Downloads, maybe because we were using the workaround domain_name-0.5.99999999.gem version of the gem as this was a brand new MacBook.

I ended up completing the install manually from there, moving it to /Applications as Xcode-11.0.app, creating an alias for it next to it named Xcode.app and running xcversion select 11.0 so a proper xcode-select was done. Have not encountered any side effects from doing that yet.

@pg07gordon Can you try again using master? #338 should have resolved that issue.