Open alouanemed opened 5 years ago
Hi @alouanemed, I have faced the same issue in my end.
I am assuming the problem is coming due to enabled parallelized build option in the scheme.
The whole error message is the following:
error: Cycle in dependencies between targets 'RxDataSources' and 'RxCocoa'; building could produce unreliable results.
Cycle path: RxDataSources ā RxCocoa ā RxDataSources
Cycle details:
ā Target 'RxDataSources' has target dependency on Target 'RxCocoa'
ā Target 'RxCocoa' has a command with output '/Users/.../Build/Products/DebugDev-iphonesimulator/RxCocoa/RxCocoa.framework.dSYM'
ā Target 'RxCocoa' has a command with output '/Users/.../Build/Products/DebugDev-iphonesimulator/RxCocoa/RxCocoa.framework/RxCocoa'
ā Target 'RxCocoa' has link command with output '/Users/.../Build/Intermediates.noindex/Pods.build/DebugDev-iphonesimulator/RxCocoa.build/Objects-normal/x86_64/RxCocoa'
I can't understand how RxCocoa
target depends from RxDataSource
.
As the warning says: 'RxDataSources' has target dependency on Target 'RxCocoa' which means that wherever you're importing RxDataSources you don't have to import RxCocoa.
I am trying to integrate Circle Ci and fastlane with my iOS app.
I get this error on :x: error: Cycle in dependencies between targets 'RxDataSources' and 'RxCocoa'; building could produce unreliable results.
Although I can run the app on simulator easily without that error. I had that error several times in the past but I would clean the project and it will disappear.
The error occurs when running the cmd both on my machine and on circle ci :
bundle exec fastlane test
pod file š