Archive Errors [Provisioning Profile, App ID, and code Signing]

I have been trying to upload my first app to the app store, but I am having trouble. Initially i was able to archive the app, but the export button was greyed out. I found out that this was because I had archived it with my "personal team" profile and not my "agent" profile. Unfortunately, after switching I am getting these three errors.

Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.
No profiles for 'com.pigboydevelopment.voices' were found:  Xcode couldn't find a provisioning profile matching 'com.pigboydevelopment.voices'.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'

I linked Screenshots HERE of some helpful Information.

Remember, you can't archive if:

- a simulator is selected instead of a device*

- there is an error when building*

- you haven't finished the 'Prepare for Submission’ stage for that app in iTunes Connect

- See: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ChangingAppStatus.html

- you've recently renewed your (required) apple developer account, and not yet updated the provisions to reflect that activity



* You must have at least one device registered in the Member Center, but it doesn’t have to be connected to your Mac/Xcode when building, in which case select ‘generic iOS/tvOS device'


- - - If this is just about testing to a device and you're getting a message that Xcode can't archive, try deleting all older versions of that app on the target device first

Archive Errors [Provisioning Profile, App ID, and code Signing]
 
 
Q