dimanche 1 mai 2016

Receive a EXC_BAD_INSTRUCTION (crash) after unit test success

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

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: exception stack

I didn't know what's wrong with my steps.Could anybody help me?

Aucun commentaire:

Enregistrer un commentaire