根据的说法,我应该能够使用下面的代码启动一个基于其包ID的应用程序。let safariApp = XCUIApplication(bundleIdentifier: "com.apple.mobilesafari")
safariApp.launch()Argument passed to call that takes no arguments
我正在尝试向一个用ObjC编写的静态库中添加一个XCTestCase。但是我得到了这个错误 'XCTest/XCTest.h' file not found
Cannot find interface declaration for 'XCTestCase', superclassof 'MotwinTests' 我不明白为什么在我的静态库中找不到XCTestCase,或者静态库不支持它?
don't care about ...客户端测试/重构接口测试import XCTest
class RestInterfaceTests: XCTestCase顺便提一句,如果我把RestInterfaceTests类放在RestInterface.swift的末尾,它似乎找到了协议,但是XCTestCase现在还没有声明。