I wanted to use deviceActivity target (File->New->Target). A package was created with filename "TotalActivityView".
But i am getting this error while trying to preview it.
ERROR: Cannot preview in this file ".appex is an unsupported extension"
How do I use the deviceActivity target in my project?