xcode 签署“[AppName]”需要一个开发团队。在项目编辑器中选择一个开发团队。
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/42379931/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Signing for "[AppName]" requires a development team. Select a development team in the project editor.
提问by Mike McAuley Jr.
Just started developing a new iOS mobile application with React-Native, running it through XCode. I am attempting to use my personal iPhone as the device I test it on. When I choose "My iPhone" and hit the build button the build fails and I get this error:
刚刚开始使用 React-Native 开发一个新的 iOS 移动应用程序,并通过 XCode 运行它。我正在尝试使用我的个人 iPhone 作为我测试它的设备。当我选择“我的 iPhone”并点击构建按钮时,构建失败并出现此错误:
Signing for "[AppName]" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
Signing for "[AppName]" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
Anyone know how to fix this so I can use my phone instead of the iOS simulators?
有谁知道如何解决这个问题,以便我可以使用我的手机而不是 iOS 模拟器?
Thanks!
谢谢!
回答by Pratik Patel
First select your correct Team with correct developer certificates in Build Settings. If you have not any Team certificates then you can not Run project on your device.
首先在构建设置中选择具有正确开发人员证书的正确团队。如果您没有任何团队证书,则无法在您的设备上运行项目。