Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 9 - linker command failed with exit code 1

Tags:

xcode

ios

While compiling the application getting as following error

" compiled with older version of Swift language (3.0) than previous files (4.0) file "

Could you please help me?

like image 246
sunilkumar Avatar asked Oct 03 '17 08:10

sunilkumar


1 Answers

Use the xcworkspace to build instead of the xcproject?

This usually happens when using Cocoapods and you are building from the xcproject which doesn't know about the cocoapod libraries.

like image 51
Krishna kushwaha Avatar answered Nov 05 '22 04:11

Krishna kushwaha