Why am I getting the following error when compiling some of the swift files. The error occurs in the tests target. It doesn't occur in the main target or the ui tests target.
<unknown>:0: error: bridging header '/Users/Shinehah/Documents/Xcode Projects/IPv4 Calculator folder/IPv4Calculator/IPv4Calculator/IPv4CalculatorTests-Bridging-Header.h' does not exist
The bridging header build setting (
SWIFT_OBJC_BRIDGING_HEADER
) is per target. It looks like your test target has it pointing to a file that doesn’t exist. You can either fix the build setting or fix the location fo the bridging header.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"