2016-09-16 6 views
7

जब मैं अपने परियोजना है कि Xcode 8 में अपग्रेड करने से पूरी तरह से भाग गया चलाने के लिए मैं त्रुटिस्विफ्ट 3 त्रुटि में कनवर्ट कर रहा: "परीक्षण मेजबान नहीं मिल सका विफल वर्तमान स्विफ्ट सिंटेक्स में कनवर्ट करने के लिए ..."

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

बार आ रही है कोशिश

तेज 3.0 कन्वर्ट करने के लिए मैं लगातार त्रुटि मिलती है की कोशिश के बाद:

Convert to Current Swift Syntax Failed Could not find test host for CastleTests: TEST_HOST evaluates to: (location of my file for my project and test folders)

मैं तेजी से 3 एक अन्य परियोजना में परिवर्तित करने की कोशिश की है और यह बिल्कुल ठीक काम किया, लेकिन यह एक काम नहीं करेगा। उत्पादों के स्थानों में से सभी के रूप में कैसे काम कर परियोजना में लोगों को मैं मैं क्यों

+1

http://stackoverflow.com/questions/37847807/xcode-8-beta-convert-to-current-swift-syntax-failed-could-not-find-test-host/37864933 – jpulikkottil

उत्तर

16

i)Select every target of Test in Project. ii)Navigate to General tab. iii)Host application name is empty ,so Update with appropriate host name .

बिल्ड फिर इस त्रुटि प्राप्त हो रही है और यह ठीक काम करेंगे करने के लिए संदेह में हूँ कर रहे हैं एक ही स्थापित कर रहे हैं।

संबंधित मुद्दे