ReSwift/ReSwift-Thunk

I got conflict between ReSwiftThunk-Core-ExpectThunk and ReSwiftThunk when make archive

titkov5 opened this issue · 2 comments

This is I can see in log
Showing Recent Messages
Multiple commands produce '/Users/.../UninstalledProducts/iphoneos/ReSwiftThunk.framework':

  1. Target 'ReSwiftThunk-Core-ExpectThunk' has create directory command with output '/Users/.../iphoneos/ReSwiftThunk.framework'
  2. Target 'ReSwiftThunk' has create directory command with output '/Users/.../iphoneos/ReSwiftThunk.framework'

pod file

pod 'ReSwift'
pod 'ReSwiftThunk'
pod 'ReSwiftRouter'

before this I can see this issue ( the same I can see when launch on iPhone, but I get no fail)

Showing Recent Messages
Multiple targets match implicit dependency for linker flags '-framework ReSwiftThunk'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'TrackdMusic' from project 'TrackdMusic')

Xcode 11.3.1 CocoaPods
COCOAPODS: 1.8.4

at Cocoapods target I can see two target whichProduces framework with the same name, https://prnt.sc/qwhbb3 , of course it not ok for CI. So any Ideas how resolve it?

P.S If I remove pod 'ReSwiftThunk' I still can see target ReSwiftThunk but I have failure ( no such module ReSwiftThunk)

So pod support files seems a bit strange https://prnt.sc/qwhtp5

Probably problem was in test target, here declared pod 'ReSwiftThunk/ExpectThunk'