-
Notifications
You must be signed in to change notification settings - Fork 46
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
Carthage update fails while building Polyline scheme #23
Comments
I wonder if this is the culprit in Line 334 of Polyline.swift. In function extractNextChunk, line 334 causes the build error 'subscript' is unavailable because it was obsoleted in Swift 4. StackOverflow suggests this fix to your exact MapBox code: |
Actually Polyline has already been updated to Swift 4 so your Cartfile dependencies should point to that: |
Looks like that will happen in mapbox/mapbox-directions-swift#196
I think
Can you try clearing the Carthage Build and Checkouts folders in your project also and the derived data in from the directory noted in the log you attached ( |
Hm, cleared Carthage/Build and Carthage/Checkouts and Derived Data. Ran scripts/setup.sh again, got same errors. Same xcode, same carthage versions. |
When I run scripts/setup.sh I get the attached Build Failed message.
carthage-logs.txt
The text was updated successfully, but these errors were encountered: