Hi Laurent!
I didn't get any specific solution for the problem posted.
But at last what I did which helped me in building my code was, I simply removed all the pods & package dependencies from my project.
And then deleted the DerivedData Folder and cleaned the code, closed the Xcode. Then through terminal I run the command to clean the cache and then re-added all of them again.
There were couple of errors related to framework which I figured out, and everything just worked perfectly.