Git Submodule Alternative for Cocoa. Inspired by CocoaPods.
-
iOS 7 projects are not available to use Swift libraries from CocoaPods or Carthage.
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
-
CocoaSeeds just downloads the source code and add to your Xcode project. No static libraries, no dynamic frameworks at all.
-
Git Submodule sucks.
-
It can be used with CocoaPods and Carthage.
$ [sudo] gem install cocoaseeds
You have to write a Seedfile in the same directory with .xcodeproj.
MyProject/ |-- MyProject/ | |-- AppDelegate.swift | `-- ... |-- MyProject.xcodeproj |-- Seedfile `-- ...
Seedfile
# seeds for all targets
github "Alamofire/Alamofire", "1.2.1", :files => "Source/*.{swift,h}"
github "devxoul/JLToast", "1.2.2", :files => "JLToast/*.{swift,h}"
github "devxoul/SwipeBack", "1.0.4" # files default: */**.{h,m,mm,swift}
github "Masonry/SnapKit", "0.10.0", :files => "Source/*.{swift,h}"
# seeds for specific target
target :MyAppTest do
github "Quick/Quick", "v0.3.1", :files => "Quick/**.{swift,h}"
github "Quick/Nimble", "v0.4.2", :files => "Nimble/**.{swift,h}"
end
$ seed install
Then all the source files will be automatically added to your Xcode project with group named 'Seeds'.
Yes, you can add Seeds folder to .gitignore.
CocoaSeeds is under MIT license. See the LICENSE file for more info.