Yesterday I installed the official Xcode 7 and when I tried to open one of my Swift projects, appeared an alert saying that the new Xcode version wants to update my swift co
I had the same error because of:
let stringB: String? = stringA.characters.count = 0 ? nil : stringA
Solution was to change it to:
let stringB: String? = stringA.characters.count > 0 ? stringA : nil
Maybe this helps someone...