dyld: could not load inserted library '/Developer/usr/lib/libBacktraceRecording.dylib' because no suitable image found. Did find:
错误:
dyld: could not load inserted library '/Developer/usr/lib/libBacktraceRecording.dylib' because no suitable image found. Did find:
/Developer/usr/lib/libBacktraceRecording.dylib: code signature invalid for '/Developer/usr/lib/libBacktraceRecording.dylib'
cash log很清晰的指出了 不能加载 libBacktraceRecording.dylib 这个动态库, 真机调试,并没有这个库。所以会报错。
参考:http://stackoverflow.com/questions/40371536/nsurlsession-causing-exc-bad-access 这个老外已经得到了apple 的回应是这是一调试bug,得到解决方法 。
解决方法:取消 enable backtrace recording 选项