Instrument only show old version of my app - ios

I´m looking for memory leaks usign the Instrument (profile). When I run my app on the device, the last vesion of the app is not showed, the Instruments show an old version of my app. If I use the simulator every thing is fine.
Any idea about that problem?
Best regards

Related

Freezes - iOS app with Unity

Sometimes one of my app freezes, out of nowhere (apparently).
I have to kill the app to restart it.
It happens 1/50 times and it does not happen when I do something specific.
I really have a hard time recreating the issue for debugging.
Does someone have this kind of issue? If no, what would you advise for debugging purposes?
I'm on iPad Air 2 with iOS 10.3.
I dev it in Unity 5.5.0
Have a good one,

Why does PTPCamera launch with Xcode?

For some odd reason every time I use Xcode on the latest El Capitan beta, my CPU starts spiking and I start hearing the fans in the computer. I decided to check Activity Monitor and realized PTPCamera was the culprit.
Why is it being launched and what is it being used for? Quitting the process doesn't affect Xcode in any way and the CPU usage returns to normal. There are no other devices connected to my computer other than my iPhone.
I'd be very grateful for an answer because this is getting really frustrating. The only helpful link I found online was this one.
Image:

Check how much memory or CPU is being used per app, for all running apps

I'm trying to analyze how much memory, battery and cpu usage is taken by each app that is currently running on my iOS device. I don't mind if this can be done programmatically or otherwise. I have XCode up and running and I realize it can be used to check the CPU/memory of apps I install and run on my device.
Just to be clear, I do not want the total CPU/memory usage, but rather per app for all apps that are currently running.
Is this possible in iOS 8.1, in any way, without jailbreaking my device?
Edit: I just tried out Instruments in XCode and I realize to use it, you need to be testing an app. Is it possible to use Instruments to get this system info, without testing a new app? Can I get this info from the terminal for example? Thanks.

Cannot start Meteor app in iOS simulator

I have started a project in meteor. a simple counter. I cannot mange to run it on iOS simulator.
I have once managed it to run on the iOS simulator, but not now.
It has proved to be a headache long hours ago, so, I have felt it could be a good idea to ask it here. This situation is inconsistent.
I can view it from my desktop browser and with iOS simulator's safari. But most of the time when app launched, the simulator only shows the meteor splash screen with the spinner. Some times Terminal exists the command with saying it could not started app on simulator and suggesting running --verbose. I do so but nothing changes. In those most cases it serves the web app to the browser. On the other hand I can successfully start my app with android simulator.
I feel confused. After fourth time of writing same piece of this app It is here.
I do not have server code can that be the problem?
Try running with the --verbose option, with this option the full Cordova/Phonegap builds will be logged on console, also work for me when i cannot start the app on the simulator.

XCode Instruments collects no data

I'm trying to debug a potential javascript memory leak on iOS. My approach (was) to monitor Mobile Safari on my iPad using Instruments, but there's a problem: no matter what process I attach Instruments to, I get no data at all. After setting up the items to watch and starting the monitor, it runs along happily, but shows no memory usage, no CPU usage, nothing. Is there something I need to do with my iPad or Instruments to enable collection of this data?
I also had this issue with xCode 6 where the instruments would show like it's recording data although there was no actual data presented or collected.
Restarting my Mac Mini, restarting xCode, cleaning the build and disconnecting and connecting my iPad did not solve this issue.
However, my other devices were profiling just fine.
The solution I found is to reboot the iPad. (You reboot your device holding the home button and the power button for a few seconds. Then to turn it on again you press the power button).
This solved this issue and I was told it can solve other xCode related issues like when your program keep running on Debug even when you run it on Release.
Hope this helps.

Resources