当新版本问世时,我仍在学习Xcode的来龙去脉,我刚刚升级到Xcode 8,这使我在Xcode 7.3中启动的项目中出现了很多错误.我无法摆脱两个特定的错误:
I was still learning the ins and outs of Xcode when the new version came out and I just upgraded to Xcode 8, which gave me a bunch of errors in the projects I started in Xcode 7.3. I can't get rid of two particular errors:
签署AppName需要开发团队.在项目编辑器中选择一个开发团队."
"Signing for AppName requires a development team. Select a development team in project editor."
"iOS SDK 10.0中产品类型应用程序"需要代码签名""
"Code signing is required for product type "Application" in iOS SDK 10.0""
我敢肯定,我已经知道如何在Xcode 7.3中解决此问题,但是项目设置页面已经完全更改,现在看起来有点令人困惑.我在哪里添加开发团队,是否可以为我的所有Xcode项目添加默认开发团队?我还在项目设置中找到了代码签名部分,但是填写所有设置并不能使错误消失,因此我对此更加困惑.我从不需要担心Xcode的早期版本中的问题,因为我从来没有真正进行过实际的应用程序分发.任何帮助将不胜感激.谢谢!
I'm pretty sure I could've figured how to fix this in Xcode 7.3, but the project settings page has completely changed and looks kinda confusing right now. Where do I add development teams, and is it possible to add a default development team for all my Xcode projects? I also found the code signing section in the project settings, but filling all the settings doesn't make the error go away, so I'm even more confused about that. I never had to worry about this in previous versions of Xcode, since I never got to the point of actual app distribution. Any help will be appreciated. Thanks!
推荐答案如您所说,您可以转到常规项目设置并找到签名.在这里,您可以选择您的团队.此外,您可能需要自动管理签名".
As you said you found, you can go to the General project settings and find Signing. There you may select you team. Additionally, you probably want "Automatically manage signing".
如果错误没有立即消失,请尝试产品">清理",然后尝试产品">构建"并再次运行.
If the error does not immediately go away, try Product > Clean, and then Product > Build and run again.
更多推荐
在Xcode 8中添加开发人员团队?
发布评论