简体   繁体   中英

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:

  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.

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.

I'm not sure,i think provisioning profile in the build settings for the test target was set to "Don'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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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