issue fixed when building with Xcode beta3

it’s a big change in Swift by Apple.
Merge pull request #62 from demon1105/develop

issue fixed when building with Xcode beta3