Pod boost install error tar: unrecognized archive format

Following this link, I am trying to create a sample project specified in the link.

I created the pod file as indicated in the link, but when I install the module, I get the following error:

  [!] Error installing boost [!] /usr/bin/tar xfz /Volumes/DATA/../cineio-broadcast/Pods/boost/file.tgz -C /Volumes/DATA/../cineio-broadcast/Pods/boost tar: Unrecognized archive format tar: Error exit delayed from previous errors. 

A screenshot of the error is shown below: enter image description here

Where am I mistaken? How to solve this?

+5
source share
2 answers

First of all, look at the source url in boost podspec file: https://github.com/CocoaPods/Specs/blob/master/Specs/boost/1.59.0/boost.podspec.json

It may not be available from your network.

+4
source

script loading formatting library incorrectly.

Apparently, it loaded the wrong format (which seems to be offering a message), but in fact, most likely the script accidentally uses the old (more invalid) URL, and the file is actually an error page (e.g. sourceforge.net 404 page).

You can check the downloaded "archive" ( /Volumes/DATA/../cineio-broadcast/Pods/boost/file.tgz ) to find out what it actually contains. Or you can fix the link in a script (maybe you should find in the github repository).

In all cases, report an error with the developers

+1
source

Source: https://habr.com/ru/post/1213113/


All Articles