forked from Ryce/JudoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Manual Integration
Hamon Ben Riazy edited this page Apr 20, 2016
·
2 revisions
- You can integrate judo into your project manually if you prefer not to use dependency management.
- Add judoKit as a submodule by opening the Terminal, changing into your project directory, and entering the following command:
$ git submodule add https://github.com/JudoPay/JudoKit- As judoKit has submodules, you need to initialize them as well by cd-ing into the
JudoKitfolder and executing the following command:
$ cd JudoKit
$ git submodule update --init --recursive- Open your project and select your application in the Project Navigator (blue project icon).
- Drag and drop the
JudoKit.xcodeprojproject file inside theJudoKitfolder into your project (just below the blue project icon inside Xcode). - Navigate to the target configuration window and select the application target under the 'Targets' heading in the sidebar.
- In the tab bar at the top of that window, open the 'General' panel.
- Click on the '+' button in 'Embedded Binaries' section.
- Click on 'Add Other...' and navigate to the
JudoKit/JudoShield/FrameworkFolder and addJudoShield.Framework. - Click on the same '+' button and add
JudoKit.frameworkunder the judoKit project from theProductsfolder. - In the project navigator, click on the '+' button under the 'Linked Frameworks and Libraries' section.
- Select
Security.framework,CoreTelephony.frameworkandCoreLocation.frameworkfrom the list presented. - Open the 'Build Settings' panel.
- Search for
Framework Search Pathsand add$(PROJECT_DIR)/JudoKit/JudoShield/Framework. - Search for
Runpath Search Pathsand make sure it contains@executable_path/Frameworks.