Tuesday, 15 September 2015

ios - Instruments not using latest build -


The building for the equipment already takes a lot of time - about 5 minutes and then I'm checking where the memory leak Coming from, I am commenting on different things, then testing it, then for each test to produce 5 minutes.

Then it's an hour or so, and very frustrating on this issue is coming and going, seemingly without patterns, that I see something that I have commented on the screen. So I change the title bar text, create it, and start up in devices. As I suspect, the title text has not changed. So my process is:

  1. Create for profiling.
  2. Profile.
  3. Both equipment and simulator are open, or come in foreground ready for testing.
  4. I press the record button.

This does not to test the latest version, but in reality, only a recent version I suspect that when you're completely, completely Do not make close devices, then the problem is there. While creating it, and after pressing the profile the device puts it in front of you, it does not use that build.

Is this incredibly disappointing, is there a pattern on it? Something, am I doing something wrong? It's wasted a lot of time.

I have the same problem with Xcode 6.3.1. ..

I managed to overcome it but it is cumbersome:

  1. Close the device app.
  2. Clean the project.
  3. Run the project as usual on the simulator and stop it after launching the project.
  4. Please re-project the project.

If someone knows why this is happening and is a better solution, please post it here.


No comments:

Post a Comment