XCode Build fails: Check Dependencies

ios
xcode

#1

I’m trying to build for an iOS project that uses CocoaPods, and I’m currently getting this error:

...
▸ Compiling SwiftyJSON_vers.c
▸ Linking SwiftyJSON
▸ Copying SwiftyJSON-umbrella.h
▸ Touching SwiftyJSON.framework
▸ Signing /Users/distiller/Library/Developer/Xcode/DerivedData/Office_App-hdqnpcshxdortqbwfckcplnskjcu/Build/Products/Debug-iphonesimulator/SwiftyJSON/SwiftyJSON.framework
▸ Building Pods/Spine [Debug]
▸ Check Dependencies
** BUILD FAILED **

And then during the testing portion:

Testing failed:
	“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** TEST FAILED **

Any idea what’s causing this or how I can remedy it? It seems Spine is causing the issue at least partially. Not sure how I’d convert Swift syntax from the circle.yml or similarly fix the issue.


#2