App crashes after power down on iPhone 4S

你离开我真会死。 提交于 2019-12-07 06:57:27

Was able to solve my issue by making SenTestingKit "optional" under the linked libraries in my Target, Build Phases. Also, used some of the tips in this posting stackoverflow.com/questions/7895296/… but, due to your original comment I was able to piece this together. Thanks again for your useful comments.

Test support pods like

  • Specta
  • OCMock
  • OCHamcrest
  • Expecta

don't belong in your main target (assuming you don't use OCHamcrest matchers for non-test purposes). They need to be targeted exclusively to your test target, something like this:

target :MyTests, :exclusive => true do
    pod 'Specta', '0.1.8'
    …etc…
end
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!