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

Fix: Flatten extracted archives analogous to cocoapods-downloader #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rhodes73
Copy link

When a universal package contains a single tar archive, this archive will automatically be extracted. This is great, however for tar archives (among others) it's common that they contain a single directory with the same name as the tar file (without the .tar or .tar.gz extension). The extract_with_type function defined in the cocoapods-downloader module usually takes care of extracting the children of such folders, in order to create the correct structure for installing the CocoaPod. However, for this to work, we have to set some properties/options before calling extract_with_type:

@pallavjosh
Copy link

@rhodes73 are you able to use it? #5 i have created this issue, readme not clear to me..where to change podspec file (in source repo or consuming repo)? please share if any working sample available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants