Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update DYLD_FALLBACK_LIBRARY_PATH to the new path #416

Merged
merged 2 commits into from
Nov 21, 2020

Conversation

chenxiao0228
Copy link
Collaborator

@chenxiao0228 chenxiao0228 commented Feb 5, 2020

We found a app launch crash where it complains cannot load image
@rpath/libXCTestSwiftSupport.dylib. This dylib is in
"platform/Developer/usr/lib" which has an updated path over the years of
Xcode evolvement.
Updating the DYLD_FALLBACK_LIBRARY_PATH to use the new path so the simulator
can pick up the dylib.

We found a app launch crash where it complains cannot load image
  @rpath/libXCTestSwiftSupport.dylib. This dylib is in
  "platform/Developer/usr/lib" which has an updated path over the years of
  Xcode envolvement.
Updating the DYLD_FALLBACK_LIBRARY_PATH to use the new path so the simulator
  can pick up the dylib.
@chenxiao0228 chenxiao0228 requested a review from ob February 5, 2020 09:05
@ob
Copy link
Member

ob commented Feb 5, 2020

Thanks for finding this...

Could we add a test in the sample app that links with this library to make sure we don't break it again?

Also, is the bug tied to a particular Xcode version?

@ravimandala
Copy link
Contributor

@chenxiao0228 Can you please review the merge commit (a42d0be) I did on this PR?

@chenxiao0228
Copy link
Collaborator Author

LGTM

@ravimandala ravimandala self-requested a review November 20, 2020 23:30
Copy link
Contributor

@ravimandala ravimandala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ravimandala ravimandala merged commit 1e63319 into master Nov 21, 2020
@ravimandala ravimandala deleted the DYLD_FALLBACK_LIBRARY_PATH branch November 21, 2020 08:00
RainNapper pushed a commit to RainNapper/bluepill that referenced this pull request Apr 14, 2021
…tion#416)

We found an app launch crash where it complains cannot load image @rpath/libXCTestSwiftSupport.dylib. 
This dylib is in "platform/Developer/usr/lib" which has an updated path over the years of Xcode evolvement.
Updating the `DYLD_FALLBACK_LIBRARY_PATH` to use the new path so the simulator can pick up the dylib.

Co-authored-by: Ravi Kumar Mandala <rmandala@linkedin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants