SDK“iOS 6.0”中的产品类型“应用程序”需要代码签名
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15852542/
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
code signing is required for product type 'Application' in SDK 'iOS 6.0'
提问by Norah
I 'v finished my app, i created the dev & distribution profile , and I 'v tested it without codesign and it's run o.k , but when I changed the codesign to distribution profile I get this error Check dependencies
我已经完成了我的应用程序,我创建了开发和分发配置文件,并且我在没有协同设计的情况下测试了它并且它运行正常,但是当我将协同设计更改为分布配置文件时,我收到此错误检查依赖项
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 6.0'
my device is 6.0.1, my xcode is 4.5.2 any help please
我的设备是 6.0.1,我的 xcode 是 4.5.2 任何帮助
回答by mskw
You need to go to your build setting and set a "Code Signing Identity" for each debug and release for "Any iOS SDK".
您需要转到您的构建设置并为“任何 iOS SDK”的每个调试和发布设置一个“代码签名标识”。
回答by Jonathan
@mskw is correct, but there's something else I had to do to get it working (small and subtle but necessary!):
@mskw 是正确的,但我还需要做一些其他事情才能让它工作(小而微妙但必要!):
Click the small button at the top of the code window, showing an iOS device (which I happened to have plugged in):
单击代码窗口顶部的小按钮,显示一个 iOS 设备(我碰巧已插入):
And instead choose a simulator.
而是选择一个模拟器。
I think this was just because I happened to have my iPad plugged in at the time. :)
我认为这只是因为我当时碰巧插入了 iPad。:)
回答by Test
1.Uncheck the test in the Edit Scheme.
1.在编辑方案中取消选中测试。
2.i changed ios developer into 'Any iOS SDK'in Code signing identity but not worked.
2.我在代码签名标识中将 ios 开发人员更改为“任何 iOS SDK”,但不起作用。
Finally
最后
i Changed the 'Any iOS SDK' to iOS Developer in the debug & Release in Code signing identity like this picture
我在代码签名标识中的调试和发布中将“任何 iOS SDK”更改为 iOS 开发人员,如下图