How to fix “SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0” error in Xcode 10.2?

后端 未结 15 2138
情歌与酒
情歌与酒 2020-11-30 23:48

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

相关标签:
15条回答
  • 2020-12-01 00:30
    1. Check this out:
      1. Click on Project name
      2. Click target
      3. Click on Build setting
      4. At the Swift Language Version: Choose Swift 4

    0 讨论(0)
  • 2020-12-01 00:31
    1. Select project
    2. Select Build SettingTab
    3. Select Swift Compiler language Option

    0 讨论(0)
  • 2020-12-01 00:32

    1) change pod's version on podfile (because library wrote old swift version )

    2) "pod install" on terminal

    0 讨论(0)
提交回复
热议问题