I have an app that is really slow that I am trying to use the profiler to make better.
I am not able to connect the profiler to the iOS build.
I am able to build and run the app in the iOS simulator and connect the profiler.
My question is whether the results I see in the simulator will be the same as if I had it on an actual device, so I can go through the process based on the simulator profiler results to solve the actual problem that must be happening on a real device?
Not quite. The simulator is much weaker than the device. You can assume that eg. CPU values are just higher overall and stay the same relative to each other like they would on the actual device, but too high values could cause chain reactions on parts of the output.
Also, the “hardware” is differing. What runs really bad on simulator runs probably fine on device. That’s experience with them though.