MobileNativeFoundation / bluepill

Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
BSD 2-Clause "Simplified" License
3.19k stars 232 forks source link

Update DYLD_FALLBACK_LIBRARY_PATH to the new path #416

Closed chenxiao0228 closed 3 years ago

chenxiao0228 commented 4 years ago

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.

ob commented 4 years ago

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 commented 3 years ago

@chenxiao0228 Can you please review the merge commit (https://github.com/linkedin/bluepill/pull/416/commits/a42d0be63f3ed791a5794e784b003c02b15bba16) I did on this PR?

chenxiao0228 commented 3 years ago

LGTM