Xcode profiling error, missing lib?

I have already tried to find similar errors on the Internet, but it seems that I am the only one who received this error.

What I do when I want to start profiling my application in Xcode, it will work after compiling the application. In the settings, I already edited the scheme for using "debugging", but did not change anything.

The crash report displays this specific error message. I already tried to figure it out myself, but now I'm stuck. All I want to do is see how much memory my application uses and what it does with memory.

Here is the error message. I hope you can help me somehow:

Dyld Error message: library not loaded: @ RPATH / DTBinaryAnalysis.framework / Versions / A / DTBinaryAnalysis
Link from: /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments Reason: image not found

+5
source share
2 answers

I had a similar startup error instrumentsfor end-to-end tests:

$ instruments -s devices dyld: Library not loaded: @rpath/DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis Referenced from: /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPlugIn.framework/Versions/A/InstrumentsPlugIn Reason: no suitable image found. Did find: /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPlugIn.framework/Versions/A/../../..//DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis: mmap() error 1 at address=0x10A0DF000, size=0x00005000 segment=__TEXT in Segment::map() mapping /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPlugIn.framework/Versions/A/../../..//DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis /Applications/Xcode.app/Contents/Developer/usr/bin/../../../Applications/Instruments.app/Contents/Frameworks//DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis: mmap() error 1 at address=0x10A0ED000, size=0x00005000 segment=__TEXT in Segment::map() mapping /Applications/Xcode.app/Contents/Developer/usr/bin/../../../Applications/Instruments.app/Contents/Frameworks//DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis Trace/BPT trap: 5

Solution (pretty funny): reboot.

+1
source

Try reinstalling xcode from scratch and see if it helps you.

That should do the trick. Typically, an installation should install all types of tools for xcode.

0
source

All Articles