无法在iPhone上运行以Xcode创建的应用 [英] Unable to run app created in xcode on iPhone

查看:116
本文介绍了无法在iPhone上运行以Xcode创建的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想学习IOS开发,因此我安装了xcode并尝试在iPhone上运行我的第一个应用程序.

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

我正在使用xcode 8 beta 6,而我的iPhone正在运行IOS 10的最新Beta.

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

我有一个Apple ID作为开发人员帐户,但是我不属于Apple Developer计划的一部分,您必须为此付费.

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.

我已在设备"(Device)下选择了我的iPhone.当我点击播放按钮时,我会看到构建失败"以及以下错误消息:

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.

SDK'iOS 10.0'中产品类型'Application'需要代码签名

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.

如何解决此问题?

推荐答案

将您的Apple ID添加到xcode-偏好-帐户,然后从常规->团队中选择该ID

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

请在屏幕上选择苹果ID的团队

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

这篇关于无法在iPhone上运行以Xcode创建的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆