XYZ реализован в / CoreSimulator / ** и / Xcode / DerivedData / ** при интеграции RxSwift (RxTest) через Swift Package Manager - PullRequest
0 голосов
/ 27 января 2020

Я создал новый проект Xcode и просто добавил зависимости пакета Swift для связи RxSwift следующим образом:

  • RxCocoa, RxSwift и RxRelay -> Цель приложения
  • RxTest и RxBlocking -> Цель модульного теста

Но во время выполнения тест будет завершен со следующим сообщением.

Чего мне не хватает?

2020-01-27 16:52:44.942978+0900 SPM[82134:1117012] Launching with XCTest injected. Preparing to run tests.
objc[82134]: Class _TtC7RxSwiftP33_AB3B9E8806A71B46FB498A7594F5E0D919AnonymousDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24538) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f2008). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift9AtomicInt is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f21008) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f1b50). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwiftP33_7413E6CD8B22AEAFB6AE58B0BDB57F5716BinaryDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24760) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f2230). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift17BooleanDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24810) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f22e0). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift19CompositeDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24a10) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f24e0). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift32ConcurrentDispatchQueueScheduler is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24b20) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f25f0). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift23ConcurrentMainScheduler is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24bc8) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f2698). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwiftP33_419FF70AD395FC204AF1C5A95696ACDD30CurrentThreadSchedulerQueueKey is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f21078) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f1bc0). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift22CurrentThreadScheduler is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24ce0) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f27b0). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift10DisposeBag is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24f18) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f29e8). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift11DisposeBase is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f24fc0) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f2a90). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift13MainScheduler is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25338) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f2e08). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift23OperationQueueScheduler is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25538) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3008). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwiftP33_B4E79ED897163AA84B94CE0A507A463012SinkDisposer is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25638) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3108). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift18RefCountDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f257a0) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3270). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift23RefCountInnerDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25858) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3328). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift22SynchronizationTracker is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f259a0) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3470). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift19ScheduledDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25a90) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3560). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift28SerialDispatchQueueScheduler is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25b68) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3638). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift16SerialDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25c18) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f36e8). One of the two will be used. Which one is undefined.
objc[82134]: Class _TtC7RxSwift26SingleAssignmentDisposable is implemented in both /Users/tooru.furuya/Library/Developer/CoreSimulator/Devices/FEB834BB-66BC-4F28-80EE-6E81678A5D9A/data/Containers/Bundle/Application/37863C2B-F376-4D42-A4C3-09899A50C3D3/SPM.app/SPM (0x109f25d38) and /Users/tooru.furuya/Library/Developer/Xcode/DerivedData/SPM-hfbltgrwgefcorgqfzsxodnlyzhd/Build/Products/Debug-iphonesimulator/SPM.app/PlugIns/SPMTests.xctest/SPMTests (0x1294f3808). One of the two will be used. Which one is undefined.
2020-01-27 16:52:45.107515+0900 SPM[82134:1117012] Waiting to run tests until the app finishes launching.
...