After Swift3 conversion: Several compiler errors on one scheme only (in XCode 8)

After Swift 3 conversion I am experiencing a frustrating issue. I have two schemes in my project which both use the same target. On one scheme I can run tests, however on the other scheme I get the following 5 errors:


`mach-o linker`, `lipo error`, `ditto error`, `can not parse debug map`, and `segmentation fault 11`


Based on various things I found online I have tried:

- changing build active architecture to NO / YES

- changing debug information format to DWARF / DWARF with dSYM File

- hard coded the bridging header path

- diffed the Bridging Header (it's the same as before Swift 3)

- deleted derived data folder (hundreds of times)

- deleted cache folder (hundreds of times)

- deep cleaned (hundreds of times)

- restarted Xcode

- restarted the computer itself

- set rwx permissions on the project directory

- had other people check my podfile to make sure it's fine

- checked target membership of every file in the Tests and KIF targets

- Enable Bitcode is already set to No

After Swift3 conversion: Several compiler errors on one scheme only (in XCode 8)
 
 
Q