Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cozzin/carthagefilelist
🛠xcfilelist generator for Carthage
https://github.com/cozzin/carthagefilelist
carthage shell-script xcfilelist xcode
Last synced: 2 days ago
JSON representation
🛠xcfilelist generator for Carthage
- Host: GitHub
- URL: https://github.com/cozzin/carthagefilelist
- Owner: cozzin
- License: mit
- Created: 2019-06-30T07:36:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T12:17:45.000Z (over 5 years ago)
- Last Synced: 2024-10-17T21:17:18.031Z (21 days ago)
- Topics: carthage, shell-script, xcfilelist, xcode
- Language: Swift
- Homepage:
- Size: 13.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CarthageFileListMaker
`.xcfilelist` file generator for Carthage
## Motivation
We can use `xcfilelist` file for setting input & output files in Xcode script.(https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos) However, you should write `$(SRCROOT)/Carthage/Build/iOS` in every line. It's very annoying 😩, so I created an automation shell script. You can find `CarthageFileListMaker.sh` in `Carthage` Folder.
## Before
1. Edit `input.xcfilelist`
```
$(SRCROOT)/Carthage/Build/iOS/Alamofire.framework
$(SRCROOT)/Carthage/Build/iOS/SnapKit.framework
```2. Edit `output.xcfilelist`
```
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/Alamofire.framework
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/SnapKit.framework
```## Now
1. Edit `FrameworkNames`
```
Alamofire
SnapKit
```2. Run `CarthageFileListMaker`
```
$ sh CarthageFileListMaker.sh
```3. Boom 🎉 Here are `xcfilelist`s.
```
$ ls
input.xcfilelist
output.xcfilelist
FrameworkNames
CarthageFileListMaker.sh
```