mapbox / mapbox-vision-ios

62 stars 26 forks source link

Examples fail to build #359

Open bernardo-martinez opened 3 years ago

bernardo-martinez commented 3 years ago

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

Additional context

mailliwi commented 3 years ago

Did you find a fix? I am facing the same issue, only difference is I installed the SDk with cocoapods

tsuz commented 3 years ago

@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