Test bundle could not be loaded because an unanticipated error

后端 未结 10 1586
盖世英雄少女心
盖世英雄少女心 2020-12-31 00:57

Recently I have started writing test case for one old static library. I have loaded the library to Xcode 5,Since Static Library is old , I have to manually add TestProject w

10条回答
  •  难免孤独
    2020-12-31 01:25

    Had a similar issue:

    FrameworkA imports FrameworkB

    FrameworkA-Tests also imports FrameworkB

    What solved the issue was to remove(comment) all references to FrameworkB in FrameworkA-Tests, then Run Tests once and uncomment the references.

    FrameworkA-Tests now imports FrameworkB and runs fine.

提交回复
热议问题