How to install - ReactKit/ReactKit GitHub Wiki
Using CocoaPods
- Add
Podfile
platform :ios, '8.0'
use_frameworks!
pod 'ReactKit'
pod install
Carthage
Using- Create
Cartfile
orCartfile.private
github "ReactKit/ReactKit"
carthage update
, orcarthage update --use-submodules
(recommended to add as git-submodules)- Drag-and-drop dependency xcodeproj files in
Carthage/Checkouts
to your app project. - Go to "General -> Targets -> Embedded Binaries -> + Add Items" and select each dependency framework.
[WARNING] As discussed in Carthage/Carthage#188,
Carthage-built frameworks (in Carthage/Build
folder) has issue in AppStore submission, so only use Carthage/Checkouts
folder for a while, and let dependency-frameworks be built via Xcode-GUI.
For Carthage usage, see Adding frameworks to an application (ver 0.6.3) for more information.
Using git-submodules
git submodule add [LIBRARY_GIT_URL]
git submodule update --init --recursive
- Drag-and-drop dependency xcodeproj files in
Carthage.checkout
to your app project. - Go to "General -> Targets -> Embedded Binaries -> + Add Items" and select each dependency framework.