Shark & ​​MallocDebug for iPhone Applications

I am trying to optimize an iPhone game that I am developing that uses the Cocos2D-iphone infrastructure.

I want to use Shark to measure performance, but "Run-> Start with Performance Tool-> Shark" is disabled in Xcode ("Tool leaks" work fine). I configured the Generate Profiling Code assembly, tried to build both for the device and for the simulator, but without luck, the shark still remains disabled.

I also tried to launch Shark manually (outside of Xcode), and it was also inefficient. In the "Sampling → Network / iPhone Sample" section, I selected the "Public Network Profiling" radio object and put a check mark next to my listed device. When I pressed the start button, nothing happened.

Shark works great for desktop applications. I am using Shark 4.7.0 (244.4) and Xcode 3.1.3. I am creating an iphone application on SDK version 2.2.1.

Is there an app I need to install on my iPhone to get Shark to work, or is there something else I'm missing?

+3
source share
3 answers

. Xcode 3.2 Shark 4.7.1. , , "Generate Profiling Code".

  • "" "" > " /iPhone "
  • Shark " ".
  • iPhone , ,
  • "", , "".

, !

+1

:

  • ( )

  • , iPhone .

, Xcode.

, .

0

, Shark Xcode. Xcode , Xcode.

, Xcode /Developer. - /Developer -3.2.5, /Developer /Developer-3.2.5. , , .

, , - , . , , /Developer -3.2.5, , /Developer ( Shark).

SDK, Shark , . , , . , , , /Developer, .

, , /Developer -3.2.5, /Developer -3.2.5, /, .

Shark, .

...

0

Source: https://habr.com/ru/post/1715152/


All Articles