“IOS开发”的版本间的差异

来自Alex's wiki
跳转至: 导航搜索
第4行: 第4行:
  
  
 +
问题:
 +
<nowiki>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"</nowiki>
 +
解决:
 +
<nowiki>This worked for me:
  
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"
+
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.</nowiki>

2016年9月23日 (五) 06:39的版本

App开发

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.