Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode error "Can't install application ... [appname].app requires the " z" capability which is not supported by [devicename]

Tags:

xcode

ios

iphone

I am working on a Wenderlich tutorial and got a new error message today. . I haven't seen this one yet and can't seem to find any answers via regular searches.

When trying to build and run on a device (iPhone 6+, iPhone 5, or iPad Mini running 9.1), I get the error that:

"Can't install application ... [appname].app requires the " z" capability which is not supported by [devicename]."

What is the " z" capability, and how do I add this to the devices?

Added detail: The app is called Store Search app, and what it does is send search queries to the iTunes store. The error message really does say '" z" capability', with a leading space before the letter 'z'.

like image 671
Rich Avatar asked Dec 02 '22 13:12

Rich


2 Answers

Try checking Required device capabilities in your project info.plist

Required device capabilities

like image 101
Priyansh Avatar answered Dec 05 '22 23:12

Priyansh


Ugh, I had a typo. I diffed the info.plist file with one that was included with the tutorial and somehow a " z" worked its way into the Required device characteristics section... thanks for making me dig a little deeper!

like image 33
Rich Avatar answered Dec 05 '22 23:12

Rich