I recently updated to Xcode 7 beta 5. I tried adding a unit test to an earlier project, but I am getting the error message \"No such module [myModuleName]\" on the @te
@te
In build settings test target, check the host testing, it takes the name set in PRODUCT_NAME. It is that name that you should use in test classes.
I recommand to not change PRODUCT_NAME (match name of the main target)