简体   繁体   中英

Profile WatchKit App Extension with Xcode 8 and watchOS3

I want to profile my app which is also available for Apple Watch. I'm currently using the latest Beta of Xcode 8 and watchOS3.0 (Beta 6).

Xcode has this great tool included called "Instruments" where you can debug your app and see which functions need the most CPU time etc.

This tool works great when profiling on my iPhone. But if I want to profile my WatchKit Extension, it's not working. It always tells me "Waiting for Xcode to download symbols":

在此输入图像描述

But Xcode is NOT downloading anything! I also added the path to Instruments where to search symbol files:

在此输入图像描述

What am I doing wrong? Is this a bug or is it me? I tried everything but I can't get this thing to work ..

Under the directory "~/Library/Developer/Xcode/watchOS DeviceSupport/" will be one or more Watch directories. One of them will be for your version of the watch. Inside of that subdirectory, create an empty "Info.plist" file and then restart Instruments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM