在Xcode上创建配置文件 [英] Create provisioning profile on Xcode

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

问题描述

我正在尝试在iPhone上调试应用程序(Xamarin.Forms).我已经在要编写应用程序的Windows PC上安装了Visual Studio,并在Mac上安装了Visual Studio和Xcode.我也在我的开发者帐户中注册了iPhone.

I'm trying to debug an app (Xamarin.Forms) on my iPhone. I already have Visual Studio on my Windows PC, on which I'm writing the app, and Visual Studio and Xcode on my Mac. I registered the iPhone on my developer account too.

但是,似乎我也需要一个配置文件.但是我所看到的演练的屏幕与当前的Xcode不同.当我单击首选项-帐户"时,我看到了我的帐户,但是无处添加配置文件.

However, it seems like I also need a provisioning profile. But the walkthroughs I've seen have screen unlike the current Xcode. When I click on Preferences - accounts, I see my account, but there's nowhere to add a provisioning profile.

(iPhone是否需要使用与Mac上的ID(具有我的开发者帐户的ID)相同的Apple ID登录?)

(Does the iPhone need to be signed in with the same Apple ID as the one on the Mac, the one for which I have a developer account?)

我应该如何添加呢?

推荐答案

从Xcode 8.x开始,配置文件由Xcode自动管理.因此,您看不到完整列表.我想您只能看到下载所有配置文件"按钮(在首选项/帐户"菜单下).单击它,然后在Visual Studio iOS项目的属性中,您的配置文件应同时显示在VS Mac&中. Windows(如果Windows VS已连接到MAC).

From Xcode 8.x, provisioning profiles are managed automatically by Xcode… So you don't see the full list. I presume you can only see a "Download All Profiles" button (under Preferences/Accounts menu). Click on it, then In Visual Studio iOS project's properties, your provisioning profile should appear in both VS Mac & Windows (if your Windows VS is connected to your MAC).

按此处所述从Windows连接到Mac:

Connect to your Mac from Windows as mentioned here: Connecting to your Mac -> doc screenshots may be old...

这篇关于在Xcode上创建配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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