Skip to content
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.

Adding the Framework

  • 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 JudoKit folder 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.xcodeproj project file inside the JudoKit folder 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/Framework Folder and add JudoShield.Framework.
  • Click on the same '+' button and add JudoKit.framework under the judoKit project from the Products folder.
  • In the project navigator, click on the '+' button under the 'Linked Frameworks and Libraries' section.
  • Select Security.framework, CoreTelephony.framework and CoreLocation.framework from the list presented.
  • Open the 'Build Settings' panel.
  • Search for Framework Search Paths and add $(PROJECT_DIR)/JudoKit/JudoShield/Framework.
  • Search for Runpath Search Paths and make sure it contains @executable_path/Frameworks.

Clone this wiki locally