1.7 KiB
1.7 KiB
CarthageBinaries
This repository contains carthage binary project specifications and compiled binary frameworks.
Repository structure
Repository has the following structure:
.
├── Alamofire
│ ├── 4.8.1
│ │ └── Alamofire.framework.zip
│ └── Alamofire.json
├── Kingfisher
│ ├── 4.10.1
│ │ └── Kingfisher.framework.zip
│ ├── 5.3.0
│ │ └── Kingfisher.framework.zip
│ └── Kingfisher.json
└── LeadKit
├── 0.9.12
│ └── LeadKit.framework.zip
├── 0.9.13
│ └── LeadKit.framework.zip
├── 0.9.14
│ └── LeadKit.framework.zip
└── LeadKit.json
Where contents of json files looks like this:
{
"0.9.12": "https://github.com/TouchInstinct/CarthageBinaries/raw/master/LeadKit/0.9.12/LeadKit.framework.zip",
"0.9.13": "https://github.com/TouchInstinct/CarthageBinaries/raw/master/LeadKit/0.9.13/LeadKit.framework.zip",
"0.9.14": "https://github.com/TouchInstinct/CarthageBinaries/raw/master/LeadKit/0.9.14/LeadKit.framework.zip"
}
Adding new binaries
- Add framework to Cartfile
- Run
carthage update(add--platform iOSonly if build failed for non-iOS platforms) - Create folder for new version:
mkdir -p FrameworkName/XwhereX- framework version (0.9.14 for example) - Run
carthage archive FrameworkName --output FrameworkName/X - Create
FrameworkName.jsonif there is not yet - Create new branch, push your changes and create pull request
- You're done!