413 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
70
views
How can I hide all system library calls in Xcode 16 Instruments
Prior to Xcode 16, when I use Activity Monitor or Time Profiler, and select Hide System Libraries (and Invert Call Tree) under Call Tree, then I could see only calls from my app. In v16 though, with ...
10
votes
0
answers
902
views
Failed to generate memory graph for pid 73918: failed to create a VMUTaskMemoryScanner, probably because the target's libmalloc hasn't been initialize
I'm trying to use Instruments (with Xcode 16.1) to analyze memory usage of my iOS app running on the simulator. However, when I try to attach Instruments to the app, I get the above error. I am not ...
0
votes
0
answers
19
views
SwiftData - What are Data / Relationship Faults? [duplicate]
New to data persistence and I'm trying to improve the performance of an app that uses SwiftData. I profiled the app in Instruments, and I saw a lot of data / relationship faults.
What are they and how ...
2
votes
1
answer
2k
views
I'm trying to use Xcode Instruments 15.3 to analyze the http traffic of my application, but the instruments do not collect the data of simulator
I'm trying to use Instruments to monitor the app's HTTP traffic, but the profile is not collecting any data.
I'm trying to follow this article step by step to collect the data I need:
https://www....
0
votes
0
answers
463
views
SwiftData leaks
i am working on an SwiftUI app, which needs to perform multiple coreData comparisons between two tables.
The Problem is, when i do the comparison, my app randomly crashes..
i need to keep a close eye ...
-1
votes
1
answer
112
views
Why is my app crashing on an iPad due to low memory?
Newbie to coding.
I'm at the stage of testing part of my app on an iPad. It works without dramas in the simulator (which I understand why). When I run it on an iPad, it crashes after a couple of ...
1
vote
0
answers
260
views
Memory leaks detection in Intruments did not work
I'm facing some memory leaks here. These classes were retained when pushing <-> popping from particular view controller. Memory Graph allows me to see precisely where the classes are.
However, ...
1
vote
1
answer
1k
views
Xcode Instruments "Points of Interest" dropping intervals
tl;dr
When logging large numbers of intervals in "Points of Interest" tool, I am seeing intervals randomly getting omitted from the graph in the main pane. Are others seeing this problem? Am I doing ...
0
votes
0
answers
285
views
Error while tying to run instruments with Xcode 15
I'm trying to run instruments with Xcode 15, and all the instruments give the same error when I tap on the record button. I get the error in both cases while connecting to a physical device (iPad 16.1....
0
votes
1
answer
373
views
Is latest Instruments not support A17 Pro for CPU counters?
I would like to check CPU counters by Instruments for A17 Pro (iPhone 15 Pro, iOS 17.0), but it shows unsupported on 'Recording Options' -> 'CPU Name'. Anyone meet the same situation? or it is ...
1
vote
0
answers
42
views
Xcode Instruments launches wrong build
I'm using Xcode 14.3 on macOS 13.3.1
When I try to launch my project with Instruments for Profiling, it is launching an arbitrary copy of a bundle with the same bundle ID.
As this project has been in ...
0
votes
1
answer
170
views
Accessing some of AVAudioEngine properties or methods causing a memory leak in Xcode Instruments
I'm not sure wether AVAudioEngine is internally causing some memory leaks or it is a bug of Xcode Instruments but I had a strange case where I was seeing memory leaks after launching the app.
Finally ...
1
vote
1
answer
564
views
How to See Line Numbers in Instruments Performance Profiles
I may just be using this program wrong, but I've been having a lot of difficulty using the C++ profiler on MacOS. There are two major issues:
I'd preferably like to see line-by-line annotations of ...
2
votes
1
answer
1k
views
Points of interest not showing in Xcode Instruments
'Points of interest' are not showing in Xcode. What are possible reasons for this?
Sample (followed from this answer):
let pointsOfInterest = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: ....
1
vote
0
answers
43
views
Understand the output of XCode Instruments
I'm trying to profile my code using Instruments. What I get is something like the following window:
What I don't understand is: below lq_cohomology, Instruments lists HeapMatrix::pivot. This method ...