smart-on-fhir / Swift-SMART

Swift SMART on FHIR framework for iOS and OS X
Other
135 stars 47 forks source link

Swift Compiler Error #4

Closed moomoogoo closed 7 years ago

moomoogoo commented 7 years ago

Hi when I try to build the current master, I keep getting a Swift Compiler Error:

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

p2 commented 7 years ago

I've just built Swift-SMART on master branch with Xcode 8.2 and it seems to work okay. What Xcode version are you using and what's the exact error?

moomoogoo commented 7 years ago

I'm using Xcode 8.2.1 and it seems to be missing the SwiftSMART/Swift-FHIR/Sources/ and SwiftSMART/OAuth2/ files after I download the master branch. Should the master branch be able to be complied right after downloading?

p2 commented 7 years ago

Ah; that is part of the OAuth2 submodule. It's better to use git than to download the repo – the download does not contain all sources. Please see here.