Since Xcode 7 and Swift 2.0, I get the error above, like in the screenshot shown here:
I have no idea where this is coming from, cleaning and deleting derived data didn't work.
Anyone else experiencing this problem?
Project settings:
Target settings:
In Xcode 9.3, I have re-installed the specific pod, in which warnings appeared and cleared derived data again n again. It worked for me :)
In my case
Error
Ok
In my case, it was with setting a value to a parameter in a function to nil that was causing the error.
Before:
After:
I was able to resolve it by making a change to the bridging header. In my case adding a line break was sufficient. Very strange bug.
For me it was MD5.swift issue
What you have to do is search in your project for file name "MD5.swift" even in the pods
and replace all the content with this file here
https://github.com/onmyway133/SwiftHash/blob/master/Sources/MD5.swift
This issue is still present in Xcode 10.2.1. After cleaning the build folder, the error went away.