When I am trying to import VisualRecognitionV3 in Xcode it gives me the error:

module compiled with swift 3.0 cannot be imported in swift 3.0.2

Here is a screenshot:

enter image description here

Does anyone know how to fix it?

1

There are 1 best solutions below

0
On

This is similar to the version issue seen here. Basically, refraining from using the precompiled binaries when calling carthage will fix the issue so use the following carthage command - "carthage update --platform iOS --no-use-binaries"