My Xcode project builds and works fine. It has Swift and Objective-C code.
It has GPUImage installed.
I added a unit test to it and now it will no longer compile:
'GPUImage.h' file not found
Failed to import bridging header
Here are the workarounds I have found and tried:
-
Setting the Product Module Name to match my project: Didn't work http://ift.tt/1Lo30ND
-
Ensured my build phases matched: Didnt work
-
Expanding the header search paths: Didnt work http://ift.tt/1TYybqf
This question seems to have the same issue: added unit testing target to xcode - failed to import bridging header won't go away
If you know why XCode can't find my BridgingHeader.h or GPUImage.h then please share. I am trying to get Unit Testing working with Travis CI but can't get passed the compile step.
Aucun commentaire:
Enregistrer un commentaire