【发布时间】:2016-01-12 16:37:57
【问题描述】:
我正在使用 Swift 2 和 Xcode 7 构建一个 iOS 9 应用程序。
我的应用在将其部署到手机时运行良好,但是当我运行任何单元测试时,我收到很多类的以下错误消息:
Class _TtC5<AppName>19<ClassName> is implemented in both /Users/<Username>/Library/Developer/CoreSimulator/Devices/<UUID>/data/Containers/Bundle/Application/<UUID</<AppName>.app/<AppName> and /Users/<Username>/<Path/To/Workspace>/DerivedData/<AppName>/Build/Products/Debug-iphonesimulator/<AppName>.xctest/<AppName>. One of the two will be used. Which one is undefined.
有什么想法吗?
【问题讨论】:
标签: ios swift xcode xcode7 xctest