Start by verifying that you are running in Developer Mode, and not in Retail Mode.
You cannot connect to your Xbox One when it is in Retail Mode.
To figure out which mode you're currently in, press the Home button on your controller. If you see Gold/Live content instead of Dev Home,
you're in Retail Mode and you need to run the Dev Mode Activation app to switch to Developer Mode.
Note
You must have a user signed in to deploy an app.
For more information, see Fixing deployment failures later on this page.