Xcode 10 test failure when running on older iOS simulators - “Failed to load test bundle… no suitable image found”

前端 未结 2 1743
遇见更好的自我
遇见更好的自我 2021-02-20 12:52

I\'ve installed Xcode 10 and upgraded my iOS application to Swift 4.2. When I run my tests (both UI and Unit) via Xcode, on an iPhone simulator running iOS 12, the tests success

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-20 13:10

    In the Project Navigator, select the project file. Select the Target in the Project configuration window. Select Build Settings tab, (Basic and Levels) Scroll down to iOS Deployment Target and then select the desired OS version.

    That solved the problem for me. cheers rgds Dave

提交回复
热议问题