大学で先輩の研究を(プロジェクトを自分が使うMACに)引き継いだのですが、conversion to swift5 is available というエラーがでた。その後出てきたウィンドウのNEXTを押した所
Convert to Current Swift Syntax Failed
ensure that all selected targets build successfully with the currently configured Swift version before attempting a migration.
と警告された。swiftを始めたてでどうしたらいいか分からず困っています。
import XCTest //Failed to load module'XCTest'のエラー構文
@testable import ipad9_7sihyouteiji
class ipad9_7sihyouteijiTests: XCTestCase {
override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. } override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } func testExample() { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct results. } func testPerformanceExample() { // This is an example of a performance test case. self.measure { // Put the code you want to measure the time of here. } }
}
あなたの回答
tips
プレビュー