objective c project swift version error came iOS

Solution:

You had not mentioned the swift version in your build settings.

1)Select your project.

2)Goto build settings -> click + icon -> select user defined setting.

3)Add key value named SWIFT_VERSION and value as 3.0

4)Finally build and run your project it will works

Comments

Popular posts from this blog

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift