xcode 4 fails to initiate unit tests (with linker error) after I created a new scheme

前端 未结 6 1870
星月不相逢
星月不相逢 2020-12-23 20:06

My unit tests worked fine in xcode4 until I had to create a new schema to compile a package to run on my device for testing.

All I did was creating a new Target an

6条回答
  •  攒了一身酷
    2020-12-23 20:40

    I discovered my problem was that I had 'Link time optimisation' enabled on my debug build. Setting it to no resolved the problem.

提交回复
热议问题