简体   繁体   English

在Xcode 6.1上构建应用时出错?

[英]Getting error on building a app on Xcode 6.1?

I "m building an app on Xcode 6.1 and iam facing a problem when i click on build in Xcode getting an error like below: 我在Xcode 6.1上构建应用程序,当我在Xcode中单击生成时,我遇到了一个问题,如下所示:

  CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.1'

I google and get some similar links related to this issue but all are for SDK 5.1 or 6.0. 我在Google上搜索并获得了与此问题相关的一些类似链接,但它们均适用于SDK 5.1或6.0。

Could anyone help me how i can solve this issue. 谁能帮助我如何解决这个问题。 Help is appreciated! 感谢帮助!

CodeSign错误:SDK'iOS 8.1'中的产品类型'Unit Test Bundle'需要代码签名

Remove any blue check in [ProductName]Tests so it will be uncheck then try running. 删除[ProductName]测试中的所有蓝色复选框,以便取消选中该复选框,然后尝试运行。

I'm not sure,i think provisioning profile in the build settings for the test target was set to "Don't code sign" . 我不确定,我认为测试目标的构建设置中的配置文件设置为“ Do n't code sign” select provisioning profile manually. 手动选择配置文件。 May be it will solve your issue. 也许它将解决您的问题。 for change provisioning profile identity 用于变更供应配置文件标识

select your project title and the right side view 选择项目标题和右侧视图

Go to Build settings->Code signing-> Code signing identity->(if its in Don't code sign )then select your provisioning profile.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM