smart-on-fhir / SoF-Demo

Simple SMART on FHIR / Argonaut iOS sample app that fetches a couple of resources
36 stars 17 forks source link

Build fails on "Ambiguous use of operator" #7

Closed col-panic closed 6 years ago

col-panic commented 6 years ago

With XCode 9.2 the build fails stating

Ambiguous use of operator '<' image

xmlmodeling commented 6 years ago

I committed a fix by updating the Swift-SMART submodule where this compile error has been corrected. The project now builds and runs for me in XCode 9.2

col-panic commented 6 years ago

I just pulled and re-openen, but I still have the same problem?! What am I doing wrong??

xmlmodeling commented 6 years ago

Hi Marco,

I just cloned a fresh copy of the repo and successfully built and ran the demo app on XCode 9.2.

I suspect that you have an existing repo cloned before the change I committed yesterday, and you pulled only updates to the immediate project, not the nested dependencies. The bug fix was in Swift-FHIR project that is a nested dependency within Swift-SMART.

Try either:

git submodule update --init --recursive

git submodule foreach --recursive git fetch

Thanks, Dave

On Fri, Mar 16, 2018 at 7:44 AM, Marco Descher notifications@github.com wrote:

I just pulled and re-openen, but I still have the same problem?! What am I doing wrong??

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/smart-on-fhir/SoF-Demo/issues/7#issuecomment-373717250, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8_N8guHaRxd1qtLAwBZvw5gms3SqSTks5te8HRgaJpZM4SkJoU .

col-panic commented 6 years ago

Thanks a lot for the help - it works now :)