Multy-io / Multy-IOS

Mobile multy-blockchain wallet client.
http://multy.io
Other
25 stars 10 forks source link

build error for swift version #305

Closed yanglhan closed 5 years ago

yanglhan commented 5 years ago

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

bonevays commented 5 years ago

I am not sure what you mean @yanglhan , because it is obvious to me the devs are using a toolchain that works for them, with some old versions for sure. Anyway, on Xcode 10.1 I got the error that 3 of the targets do not support Swift 5. Fair enough, but the pods are now all 5 compatible, so I thought something keeps them in an old version. I replaced the Podfile target to 11.0, updated the pods and now got more interesting messages, first of all telling me as soon as I open the workspace "this project uses Swift 2, please use Xcode 8 to upgrade it". From what I understand, soon the App store will only accept 64 bit code, which probably means iOS target should anyway be 10, 11, even 12. And I believe if the devs update their Xcode and targets, they will have to solve some Swift issues.

alex78pro commented 5 years ago

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

Strange, since in "Build settings" I have flag SWIFT_VERSION equals to "Swift 4". Just set it!

P.S. Exactly for JSONRPCKit set flag SWIFT_VERSION equals to "Swift 4"