Unable to run app created in xcode on iPhone

99封情书 提交于 2019-12-25 04:24:48

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/39039271/unable-to-run-app-created-in-xcode-on-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!