I searched the whole web but I couldn't find any solution for this problem. I managed to REMOVE the "Common Crypto" path in the section: IMPORT Paths in Build settings.
The problem seems to be that "common crypto" now exists in the foundation in the ios 12 sdk.
So":
Simply remove the path for file "common crypto" in the build settings and the project will build like a charm! :)