I just wanted to add that for some reason the order of imports inside the test files is important in some cases. I have to write:
@testable import MyApp
import XCTest
Inverting those two lines causes several compiler errors inside the bridging header file:
Redefinition of 'vtype'
Redefinition of enumerator 'VBAD'
Redefinition of enumerator 'VBLK'
...
I have no idea why this happens, as in another project with the exact same bridging header file the order of imports seems to be irrelevant and doesn't cause any compiler errors.
Topic:
App & System Services
SubTopic:
General
Tags: