“unsafeMutableAddressor : Swift.String”, referenced from:.."

前端 未结 2 623
星月不相逢
星月不相逢 2021-02-07 04:58

I got an error:

Undefined symbols for architecture x86_64: \"DirectBistro.DBTabBarOrderedIndexesKey.unsafeMutableAddressor : Swift.String\", ref

2条回答
  •  野性不改
    2021-02-07 05:25

    The conslusion is: it is not going to work.

    I report it as a bug to Apple, and got a response:

    UI tests execute differently from Unit tests - Unit tests run inside your application process so they can access your application code. UI tests execute in a separate process, outside your application, so they can simulate how the user interacts with the application. It’s not expected that you will be able to access your app class from a UI test.

提交回复
热议问题