[Solved] Could not cast value of type ‘Swift.Array’ (0x61000028bb50) to ‘Swift.String’ (0x10cbd0ae0) [closed]
It seems you may be inadvertently passing the array self.gname instead of a simple String. From the context I have, I can’t tell if you’re trying to pass in an array or a string. Your code is making much too much use of the “no type” types, such as Any and AnyObject. You are explicitly … Read more