After updating to the latest Xcode to support ios12 I can\'t build my project It seems that none of the pods are being compiled. I\'m getting an error for unknown import such a
This is the problem of your previous cache store in the derived data folder.
Go to the DerivedData folder. Close XCode. Delete your apps from DerivedData folder. Reopen XCode, clean project and run again.
XCode preference > Locations > Derived Data (click right side icon in the directory path, it will open DerivedData folder)
Select your pod from the left project navigator. > Select Target. > Select "Build Settings". > Build Active Architecture Only to No
In my case
pod deintegrate
pod clean
pod install
then rebuild the project works.
My XCode = 11.3.1
Here is another case: make sure "Scheme" > "Build" > "Find Implicit Dependencies" is turned on.
I turned it off (tried to fix another problem) and spent quite some time trying to fix the build.
I had the same problem with Xcode 10 and newly added pods.
I've noticed new pod was not added to Target -> Build Phases -> Link Binary With Libraries. When I added new pod-framework manually, archiving worked ok.