IOS开发

Admin讨论 | 贡献2016年9月23日 (五) 06:40的版本

App开发

Swift 3

Swift 3 中的新特性


问题:

Could not find test host for qianqianjunziTests: TEST_HOST evaluates to "/Users/qiaochenglei/Library/Developer/Xcode/DerivedData/qianqianjunzi-cauwygyctcbckvfvdrqgvqfffagk/Build/Products/Debug-iphoneos/qianqianjunzi.app/qianqianjunzi"

解决:

This worked for me:

Select the Xcode project in the lefthand browser.
Click on your test target in the Project's General tab.
Disclose "Testing". In my project the "Host Application" pulldown button was blank. Select your appropriate host application.
Try building your test target now. If that succeeds then converting syntax should as well.
I had this problem after installing the Xcode 8 beta so I assume this is related.
最后修改于2016年9月23日 (星期五) 06:40