I tried to add Unit Test to my existed project. My project is using cocoapods. I add unit test through the steps like this:http://ift.tt/1SFYEmJ . Something different is I create a new scheme for testing.And I changed the test target's configuration to cocoapods configuration since I used cocoapods.
I didn't change anything of the autocreated testsuit file.So of course, the unit test will success. But I receive a EXC_BAD_INSTRUCTION after all test case success. The exception stack lik below:
I didn't know what's wrong with my steps.Could anybody help me?
Aucun commentaire:
Enregistrer un commentaire