Fir*_*ule 31 xcode unit-testing objective-c ios xcode6
在XCode中运行我的项目时,我的测试给出了以下错误:
target specifies product type 'com.apple.product-type.bundle.unit-test', but there's no such product type for the 'iphoneos' platform
Run Code Online (Sandbox Code Playgroud)
它发生在几次XCode更新之后.有谁知道如何解决这一问题?
Ale*_*lav 104
看起来Xcode 6将ocunit测试包的产品标识符从com.apple.product-type.bundle
更改为com.apple.product-type.bundle.ocunit-test
.
编辑$(ProjectName).xcodeproj/project.pbxproj
并替换com.apple.product-type.bundle.ocunit-test
with的任何实例com.apple.product-type.bundle
.现在,只要您使用Xcode 6打开项目,然后想要在Xcode 5中打开它,就需要执行此操作.
归档时间: |
|
查看次数: |
22232 次 |
最近记录: |