This is my simple test case:
import XCTest
@testable import MyApp //it doesn\'t work
because of this:
class TabBar
This is a response from Apple:
UI tests execute differently from Unit tests - Unit tests run inside your application process so they can access your application code. UI tests execute in a separate process, outside your application, so they can simulate how the user interacts with the application. It’s not expected that you will be able to access your app class from a UI test.