-
Notifications
You must be signed in to change notification settings - Fork 40
How to install
zh1lu0 edited this page Sep 11, 2017
·
5 revisions
- Add
Podfile
platform :ios, '8.0'
use_frameworks!
pod 'ReactKit'
pod install
Using Carthage
- 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.
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.