Unit tests failing to run after app rename due to apple linker error

前端 未结 6 1222
伪装坚强ぢ
伪装坚强ぢ 2020-12-20 20:41

I recently changed the name of my app and now my unit tests are not running, I am getting an Apple linker error.

Any idea how to fix this? If I expand my \'Products

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-20 21:45

    In my case, I had the similar issue after performing app rename. I'm running Xcode 8.x and what I did was:

    1) Project -> Targets -> xxTests -> General -> Enable 'Allow testing Host Application APIs'.

    2) Perform clean & rebuild

    3) In [Simulator], reset it: Simulator -> Reset Content and Settings...

提交回复
热议问题