Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSRMTextInstructions issues #184

Closed
toothpiggystudio opened this issue Oct 2, 2017 · 4 comments
Closed

OSRMTextInstructions issues #184

toothpiggystudio opened this issue Oct 2, 2017 · 4 comments
Labels

Comments

@toothpiggystudio
Copy link

Hi,

I got an issue on OSRMTextInstructions when i update my project to swift 4. Any fix on this one?

Thanks.

screen shot 2017-10-03 at 12 29 09 am

@1ec5
Copy link
Contributor

1ec5 commented Oct 2, 2017

Hi, judging from your screenshot, you installed the Mapbox Navigation SDK using CocoaPods – is that correct? Xcode should be compiling OSRM Text Instructions as Swift 3, not Swift 4, so I’m a bit puzzled that this error is occurring.

@1ec5 1ec5 added the build label Oct 2, 2017
@toothpiggystudio
Copy link
Author

toothpiggystudio commented Oct 3, 2017

Hi, My previous project was on swift 3, then i converted it to swift 4 and got this problems,I already fixed some of the errors but i stuck on this one. Yup it was installed using CocoaPods, i also tried to removed and install it again but i got the same error.

@1ec5
Copy link
Contributor

1ec5 commented Oct 4, 2017

Xcode 9 can handle mixing Swift 3 and Swift 4 dependencies in the same application. When converting your workspace to Swift 4, you should be able to opt out of converting OSRM Text Instructions to Swift 4.

@1ec5
Copy link
Contributor

1ec5 commented Dec 28, 2019

#383 migrated this library to Swift 5. Project-OSRM/osrm-text-instructions.swift#57 tracks migrating that library to Swift 5.

@1ec5 1ec5 closed this as completed Dec 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants