For applications that use the TensorFlow backend it is not possible for the Test targets to have a host application. Which means that tests can target application code. Not good.
With default setting we see the following error when trying to build a Test target:
The only solution is to set the Host Application to None for the test target
This leads to a second problem where symbols cannot be found during test target linking, which can only be solved by modifying the test target block in the Podfile to comment out:
# inherit! :search_paths
I believe this is a problem with coocapods linking the library twice, once into the host application and the second time into the test target.
For applications that use the TensorFlow backend it is not possible for the Test targets to have a host application. Which means that tests can target application code. Not good.
With default setting we see the following error when trying to build a Test target:
The only solution is to set the Host Application to None for the test target
This leads to a second problem where symbols cannot be found during test target linking, which can only be solved by modifying the test target block in the Podfile to comment out:
I believe this is a problem with coocapods linking the library twice, once into the host application and the second time into the test target.