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

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift