mapbox-vision-ios
mapbox-vision-ios copied to clipboard
Examples fail to build
Description
On the fifth step on https://github.com/mapbox/mapbox-vision-ios/tree/master/Examples the examples fail to build
Expected behavior
Running carthage update --platform ios builds the examples successfuly
Actual behavior
Downloading MapboxAccounts binary at "2.3.1"
Screenshots
Not a screenshot but copy pasting the output:
*** Downloading MapboxAccounts binary at "2.3.1"
A shell task (/usr/bin/env unzip -uo -qq -d /var/folders/75/4845h5511zq3bs_1zs0fd_fc0000gn/T/carthage-archive.8PHFHr /Users/bernardomartinez/Library/Caches/org.carthage.CarthageKit/binaries/mapbox-vision-native-all.carthage/0.14.0/mapbox-vision-native-all_0.14.0-6b99ea9aca9ef7a2685c6ece359286a3a659aa315cb7d23af76b3c94235dfaef.zip) failed with exit code 9:
[/Users/bernardomartinez/Library/Caches/org.carthage.CarthageKit/binaries/mapbox-vision-native-all.carthage/0.14.0/mapbox-vision-native-all_0.14.0-6b99ea9aca9ef7a2685c6ece359286a3a659aa315cb7d23af76b3c94235dfaef.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /Users/bernardomartinez/Library/Caches/org.carthage.CarthageKit/binaries/mapbox-vision-native-all.carthage/0.14.0/mapbox-vision-native-all_0.14.0-6b99ea9aca9ef7a2685c6ece359286a3a659aa315cb7d23af76b3c94235dfaef.zip or
/Users/bernardomartinez/Library/Caches/org.carthage.CarthageKit/binaries/mapbox-vision-native-all.carthage/0.14.0/mapbox-vision-native-all_0.14.0-6b99ea9aca9ef7a2685c6ece359286a3a659aa315cb7d23af76b3c94235dfaef.zip.zip, and cannot find /Users/bernardomartinez/Library/Caches/org.carthage.CarthageKit/binaries/mapbox-vision-native-all.carthage/0.14.0/mapbox-vision-native-all_0.14.0-6b99ea9aca9ef7a2685c6ece359286a3a659aa315cb7d23af76b3c94235dfaef.zip.ZIP, period
Configuration
- Frameworks versions (leave the ones you're using):
- MapboxVision 0.14.0
- MapboxDirections 0.28.0
Additional context
- macOS 11.2.2
- carthage 0.38.0
Have run prerviously
rm -rf ~/Library/Caches/org.carthage.CarthageKitto delete cache
Did you find a fix? I am facing the same issue, only difference is I installed the SDk with cocoapods
@bernardo-martinez @mailliwi
You can resolve by running carthage update --platform ios --use-netrc
More about how to run the example build https://github.com/mapbox/vision-ios-examples/issues/154#issuecomment-908155396