EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 444 forks source link

(SOLVED) The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. #1618

Open kurtestacion opened 4 years ago

kurtestacion commented 4 years ago

Whenever i install this plugin to my project, then i do tns run ios, this error comes up:

'The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 4.0, 4.2, 5.0. This setting can be set in the build settings editor.'

when i try to open platforms/ios in xcode, i see this error: Screen Shot 2020-06-06 at 7 03 28 PM

im tempted to touch my proj through xcode but nativescript have a rule of thumb to not do it. TIA for any response!

ps: in android its all fine and dandy.

kurtestacion commented 4 years ago

problem solved! shouldve avoid faulty plugins before the first build or else (in my case) i have to make another project again.

What i did was i tried every plugins i have inside my package.json. i created a new project(dummy project) and installed the plugin 1 by 1(1.install 1 plugin 2.tns run ios 3.repeat) to find out the faulty plugin for xcode.