xcode-instruments Questions

3

I have been trying to run the app to check the performance using Core Animation profiler in Xcode Instruments. Even though the device is online it shows up Device is offline. I tried getting the ...
Uropygium asked 25/4, 2019 at 12:39

1

I'm creating a widget in swiftui, with a prefilled mock json, stored locally. Mock JSON has following data: { "id":"111", "title":"some dummy title", &quo...
Scalariform asked 2/2, 2021 at 22:43

0

I am using Xcode Instrument Tool to Measure My App's CPU Usage. Is there a way to find out the average CPU usage in a certain period of time? I have tried to export the .trace file to xml format an...
Penalty asked 18/5, 2022 at 11:55

6

Solved

Does any body know what I have to check if my app freezes? I mean, I can see the app in the iPad screen but no buttons respond. I have tried debugging the code when I click on the button, but I hav...
Looney asked 17/4, 2012 at 17:50

2

I can get all available devices by "instruments -s device" I am not able to identify which one is active device. How can i identify active device or simulator programmatically in JAVA. Please hel...
Maryettamaryjane asked 17/5, 2017 at 6:58

5

Solved

Looking at XCTest and Xcode 5 unit testing and not seeing how to run my unit tests under Instruments in Xcode 5... Specifically I'd like to look for leaks during the test (this doesn't have to be...
Incursion asked 9/1, 2014 at 21:13

1

Solved

I'm trying to detect memory leaks in C (and C++) programs on macOS. In Linux and Windows, I could do so easily using valgrind, but unfortunately, it's not available on macOS. As I have background ...
Pock asked 23/4, 2020 at 23:44

2

Solved

Xcode Instruments: Leaks - App crashes on launch The app crashes on both, a device and in a Simulator. What could cause the app to crash with the Instruments attached, while working correctly whe...
Percutaneous asked 20/4, 2018 at 11:20

2

I am trying to run Instruments on my app, as soon as I click record the app launches and crashes with following error: -[__NSCFString _stringByResolvingSymlinksInPathUsingCache:]: unrecognized sel...
Kalie asked 14/5, 2019 at 10:39

6

I have tried following the solution to this question. All instruments work perfectly but leak instruments cause this error: An error occurred trying to capture Leaks data, Error retrieving leak in...
Cordula asked 10/5, 2017 at 12:10

2

Solved

There used to be a nice tool, DTSendSignalFlag, part of the DTPerformanceSession framework, by which you could programmatically insert flags into Instruments. (Xcode Instruments trace comparison ex...
Valedictory asked 26/9, 2013 at 1:27

1

Solved

I often see this line in the Stack Trance when trying to track a memory leak in Xcode Instruments: thunk for @escaping @callee_guaranteed () -> () What does it mean? I can't even translate th...
Mccombs asked 2/5, 2019 at 19:13

3

Solved

I am trying to find leaks in my app using the leaks instrument. When the app launches I can see 106 leaks and I am having trouble in finding them. In the image you can see part of the list, but ...
Toad asked 27/3, 2019 at 12:10

1

Solved

There are some questions about this topic, but none has a real answer. The question is: how can I measure L1, L2, L3 (if any) cache misses on macOS? The problem is not that macOS does not provide,...

2

I am trying to understand , what is meaning of transient and persistent Column in Allocation Template . From the tutorial http://www.raywenderlich.com/97886/instruments-tutorial-with-swift-getting-...
Epididymis asked 14/12, 2015 at 7:22

2

Solved

I'm trying to find memory issues in my app. When I use Xcode's debug navigator for memory issues I see increase in the overall usage of the application. For a specific flow, when I go back and fo...

1

Solved

Iam trying to profile my app and want to check for memory leaks. Iam planing to use Xcode instruments.Any one suggest good tutorial to start with Xcode Instruments. Please suggest any alternatives....
Dichotomy asked 21/8, 2018 at 10:46

2

When I run my App with xCode all loads and runs fine. When I load in Instruments and press record using a profiling template of Activity Monitor or Allocations it loads and runs fine. However if I ...
Olein asked 25/2, 2018 at 13:31

2

Solved

Im using Instruments 8.3.2 and the Record Settings and Display Settings tab are missing in the inspector window. How do I get those tabs back? Please see the attached screenshot. The normal insp...
Gudrin asked 13/6, 2017 at 17:57

2

Regardless of the template I pick in Instruments (Allocations, Leaks, Activity Monitor) - the app crashes right away when pressing record. There is NO stack trace or any warning whatsoever - and af...
Glomerule asked 6/8, 2015 at 18:6

2

Solved

iOS7 has a preference under " Preferences | Developer | Instruments / Logging | Untethered Recording" to record the energy and network usage data. How do I extract this from the device to view in ...
Nalepka asked 10/10, 2013 at 1:8

1

Solved

I am profiling my WatchKit extension app with time profiler but the trace is unsymbolicated: I mean that these are all extraneous symbols for me and I can't find my methods names. If I click on...
Aeneous asked 13/12, 2017 at 21:52

0

I am trying to understand how to interpret the results of the instrument profiler on a mac with xcode. Primarily I am trying to understand the difference b/w Weight and Self Weight. This is my re...
Soilasoilage asked 20/9, 2017 at 6:7

3

Solved

Using hackintosh (i7-4790K 4GHz, 16GB DDR3, GF980Ti) for developing on Xcode (both Swift and Objective-C) about an year, never get any errors. But now I need to use Instruments apps (such Leaks, Al...
Ardolino asked 4/1, 2017 at 18:20

8

Solved

I've just started playing with Xcode 4, and found that, no matter how I setup debugging symbols in the project, Instruments refuses to display source lines for stack trace items that correspond to ...
Lovell asked 11/3, 2011 at 1:34

© 2022 - 2025 — McMap. All rights reserved.