天天看点

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

 这个情况不算证书问题,算是配置证书问题。

Xcode 现在新建工程,都会自动生成xxxxxxTests 文件夹,查看下改文件下xxxxxxTests-Info.plist的Bundle identifier是否和TARGETS下的xxxxxxTests的code signing是否匹配。

之前在Xcode 5不会报这个错误,但是升级Xcode 6后就会出现,应该Xcode 6修改这个bug的。

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