vendredi 21 août 2015

Xcode 6.4 Swift Unit Test Won't Compile: "GPUImage.h not found" "failed to import bridging header"

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:

  1. Setting the Product Module Name to match my project: Didn't work http://ift.tt/1Lo30ND

  2. Ensured my build phases matched: Didnt work

  3. 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