Xcode: Build Failed, but no error messages

后端 未结 13 1455
[愿得一人]
[愿得一人] 2021-01-30 09:56

Using Xcode 4.5.1. Our project has been building fine for the last three months, but suddenly, when I try to build, it says \"Build failed\", but does not show any errors on the

13条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 10:22

    Try next scenario:

    • Restart Xcode
    • check that .swift file with test functions contains
    import XCTest
    class Tests: XCTestCase {
        //...
    }
    

    *If you have Cannot find viewcontroller in scope error -> remove classes from Test Target membership

提交回复
热议问题