Maxim
Maxim

Reputation: 199

Unable to run app created in xcode on iPhone

I want to learn IOS development and so I installed xcode and tried running my first app on my iPhone.

I'm using xcode 8 beta 6 and my iPhone is running the latest beta of IOS 10.

I have an Apple ID as a developer account, but I'm not part of the Apple Developer program, for which you have to pay.

I have selected my iPhone under "Device" and when I click the play button I get "build failed" and the following error messages:

Signing for "My First Project" requires a development team. Select a development team in the project editor.

Code signing is required for product type 'Application' in SDK 'iOS 10.0'

I looked at this question , but since it's about other versions, the solution doesn't apply to me.

How can I fix this problem?

How do I get from this screen to the one Where you have to pick the team?

Upvotes: 0

Views: 1590

Answers (1)

Birendra
Birendra

Reputation: 625

add your Apple ID to xcode - prefernce - account and then select that id from general -> team

please see the screen where you have to select team which is your Apple ID

enter image description here

Upvotes: 2

Related Questions