I\'m trying to run downloaded from app, try to open in Xcode and have an error:
\" Showing Recent Messages
:-1: SWIFT_VERSION \'3.0\' is unsu
I am new to iOS development. After I followed all of the above answers, I still got the same error. I was using Xcode 11 and I downloaded the "FoodTracker" sample from Apple Developer web site and I got the same error after trying to build it. I found that the project has several settings referring to Swift language version after VIM the project file content. So, I resolved this by first setting the "Project > FoodTracker", and also "TARGETS > FoodTracker" and "TARGETS > FoodTrackerTests" the Swift Language Version to 5.0. Hope it helps.
Setting Swift Language Version on Project and ALL Targets