Posts

Post marked as solved
1 Replies
513 Views
I am attempting to record memory leak information from the terminal in 2 different ways: launch automated test through 'xcodebuild', run xctrace -record, attaching to the PID of the test (I look for it Activity Monitor). Launch my app in the simulator and run xctrace, attaching to the PID of my app. in both cases I get the following failures: [ERROR] Run issues detected (trace is still ready to be viewed): dlopen(/Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/liboainject.dylib, 10): no suitable image found.  Did find: /Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/liboainject.dylib: mach-o, but not built for platform iOS-sim dlopen(/Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/liboainject.dylib, 10): no suitable image found.  Did find: /Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/liboainject.dylib: mach-o, but not built for platform iOS-sim Error retrieving leak information. An error occurred trying to capture Leaks data. Error retrieving leak information. what are these .dylibs? and how do I rebuild them for iOS-sim?
Posted
by zmanx.
Last updated
.
Post not yet marked as solved
0 Replies
363 Views
I have automated memory leak detection and have it running on a pipeline VM (azure). However when I download the .trace file to my local machine, I am not able to read it. I tried the usual override ( click open from the right click menu), this seems to work --- until instruments opens with a dialog saying "The document <file.trace> could not be opened" HELP
Posted
by zmanx.
Last updated
.