簡體   English   中英

用鯊魚分析iphone:按下開始后沒有任何反應

[英]Profiling iphone with shark: Nothing happens after pressing start

我以前在Mac應用程序中使用過shark。 我現在正試圖為iPhone設置它,但它不想工作。

我已經從另一篇文章中了解了這些說明:構建應用程序並在設備上啟動

- Launch Shark
- From the Shark menu, select Sampling->Network/iPhone Profiling
- In the Shark window, select the radio button "Control network profiling of shared computers".
- Select your iPhone in the list and optionally configure the profiling session
- Press Start to begin profiling, and Stop to end

除了最后一步,一切都很好。 我按開始並沒有任何反應......這真的令人沮喪,因為開始按鈕不是灰色的,鯊魚只是默默地失敗而沒有任何進一步的消息。

我試過:

- Reboot
- Re-install latest XCode
- Restore my ipod
- Try different USB port
- Disabling firewall

有人有其他建議或過去見過嗎?

顯然Apple已經放棄了對鯊魚和iOS 4的支持......我們應該使用名為Instruments的應用程序。

我在apple dev論壇上看過這個: https//devforums.apple.com/message/243237 (如果你可以訪問它)

XCode 3.2.3 / iOS4 / 3GS也存在同樣的問題

一個人說發布版本ttp://forums.macrumors.com/showthread.php?t = 619564

另一個說做一個調試構建ttp://www.switchonthecode.com/tutorials/using-shark-to-performance-tune-your-iphone-app

后一頁說明直接從iPhone發布,而不是從Xcode發布。

我已嘗試過調試/發布,iPhone直接/來自Xcode的組合,但沒有成功。

Apple開始使用shark doc並沒有說任何關於哪個版本或如何啟動你的應用程序:( http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/SharkUserGuide/GettingStartedwithShark/GettingStartedwithShark.html

希望我們能盡快找到解決方案。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM