Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Xcode 13.2.1 requires AssertionServices.framework #1107

Closed
zachwolfe opened this issue Feb 21, 2022 · 3 comments · Fixed by #1108
Closed

Xcode 13.2.1 requires AssertionServices.framework #1107

zachwolfe opened this issue Feb 21, 2022 · 3 comments · Fixed by #1108

Comments

@zachwolfe
Copy link
Contributor

Framework
/System/Library/PrivateFrameworks/AssertionServices.framework

Test Application
Xcode 13.2.1, possibly earlier versions as well.

Steps To Reproduce

  1. Extract Xcode_13.2.1.xip to /Applications/Xcode.app
  2. Run xcode-select --switch /Applications/Xcode.app
  3. Run clang or any other tool that relies on the IDEFoundation framework.
  • Produces approximately the following output (I forgot to copy the actual output before adding stubs):
Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. 
(dlopen(@rpath/libxcodebuildLoader.dylib, 1): Library not loaded: /System/Library/PrivateFrameworks/AssertionServices.framework/Versions/A/AssertionServices
  Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
  Reason: image not found)

System Information
WSL2, with my own build of Darling.

Software Version
Darling 597325b

As alluded to above, I have already generated stubs by following the docs, which fixed this issue (now I fail on #1007). Shall I open a PR?

@facekapow
Copy link
Member

Absolutely; if you have stubs already generated, definitely go ahead and open a PR for them.

@slonopotamus
Copy link

So, is it fixed by #1108?

@zachwolfe
Copy link
Contributor Author

@slonopotamus IIRC yes, this specific issue should be fixed now. I would imagine Xcode still fails to launch for other reasons, though. But I haven’t tried Darling in a while.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants