Apple 开发者帐户团队未出现在 VS Mac 上 [英] Apple developer account teams not showing up on VS Mac

查看:24
本文介绍了Apple 开发者帐户团队未出现在 VS Mac 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Visual Studio Mac Community 2017 上登录我的 Apple id 帐户时,团队没有出现.我是否必须拥有付费的 Apple 开发者帐户才能使用此功能?

没有显示任何团队,并且查看详细信息..."按钮没有任何作用.此外,帐户左侧的图标是一个笑脸图标,它应该是

虽然它在 Xcode 上完美运行:

环境:
- Xcode 命令行已安装.
- 安装了 Fastlane.

我已经做过哪些故障排除:
- 重新安装 Fastlane.
- 使用其他帐户(它们都不起作用).
- 使用 Xcode 登录(上​​面的截图).
- 尝试在网上找到任何有同样问题但没有找到的人.

解决方案

如果是个人免费帐户,团队不会出现在 VS 中,但会出现在 XCode 中.每次您需要生成新条款时,您都必须:

  1. 使用某种测试项目打开 XCode
  2. 在 plist 中设置目标包 ID(只要提供与包 ID 紧密耦合,此步骤很重要)
  3. 从 XCode 部署到设备,它将生成所有必需的证书/配置文件并保存在 Mac 上
  4. 转到VS,让您在真实应用中的bundle ID与您相同刚刚生成的条款
  5. 点击在设备上运行 - 它应该可以正常工作

When I log in my apple id account on Visual Studio Mac Community 2017, teams doesn't show up. Do I have to have a paid apple developer account to use this?

There are no team displayed, and the button "View Details..." doesn't do anything. Also, the icon on the left side of the account is a smiley face icon and it should be a user icon in the official tutorial.

Screenshot:

While it works perfectly on Xcode:

Environments:
- Xcode commandline installed.
- Fastlane installed.

What troubleshooting I have already done:
- Reinstall Fastlane.
- Use other accounts (none of them worked).
- Use Xcode to log in (screenshot above).
- Try to find anyone had the same problem online and didn't find any.

解决方案

In case of a personal free account, teams won't appear in VS but will appear in XCode. Every time you need to generate new provision you have to:

  1. open XCode with some kind of test project
  2. set the targeted bundle id in plist (this step is important as long as provision is tightly coupled with the bundle id)
  3. deploy to a device from XCode, it will generate all the required cert/profiles and saves on the Mac
  4. go to VS, make you your bundle id in the real app is the same you just generated provision for
  5. hit run on a device - it should work just fine

这篇关于Apple 开发者帐户团队未出现在 VS Mac 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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