Unfound Private Frameworks

I hope it's acceptable to ask this question here. No one has answered my question elsewhere and I really need an answer.


When I profile my app using instruments / allocations and hide system libraries, liboainject.dylib is also displayed. I stop instruments and select File / Symbols. liboainject.dylib is displayed next to a yellow-colored dot. The binary path for liboainject.dylib is:


/Developer/Library/PrivateFrameworks/DVTInstrumentsFoundation.framework/liboainject.dylib


I'm concerned about liboainject.dylib, because the path doesn't seem to exist. I've seen a web reference to the DVTInstrumentsFoundation.framework that was located in a SharedFrameworks folder, but nothing associated with PrivateFrameworks. liboainject.dylib might be a part of Instruments. What is liboainject.dylib? Should I be concerned about it?

Answered by DTS Engineer in 313699022

What is liboainject.dylib?

A shared library loaded into your app by Instruments that allows it to instrument some part of the system (I believe “oa” stands for “object alloc”, that is, it helps Instruments track memory allocations, but it’s been a while since I’ve looked at this in depth).

Should I be concerned about it?

No. Given that you’re running your app from Instruments, its perfectly normal to find these sort of instrumentation libraries loaded into your process. You’ll see similarly libraries loaded into your process when you run it from Xcode.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"


WWDC runs Mon, 4 Jun through to Fri, 8 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face.
Accepted Answer

What is liboainject.dylib?

A shared library loaded into your app by Instruments that allows it to instrument some part of the system (I believe “oa” stands for “object alloc”, that is, it helps Instruments track memory allocations, but it’s been a while since I’ve looked at this in depth).

Should I be concerned about it?

No. Given that you’re running your app from Instruments, its perfectly normal to find these sort of instrumentation libraries loaded into your process. You’ll see similarly libraries loaded into your process when you run it from Xcode.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"


WWDC runs Mon, 4 Jun through to Fri, 8 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face.

I'm so very grateful for your answer. No one on two other forums and a TSI answered my question. The program represents a major investment in money and time and everyone was concerned. I'm sorry I can't shake your hand in person, but I do so in spirit.

Unfound Private Frameworks
 
 
Q