SDK Integration
  • Getting Started
  • Onboarding Requirements
  • Hash Generation
  • Test Merchant list
  • Android
    • Android SDK Offering
    • PayUCheckoutPro
      • Integration
      • Build the Payment Params
        • Additional Params
      • Hash Generation
      • Set up the payment hashes
      • Initiate the Payment
      • Customized Integration
        • Set Webview Properties
        • SDK Configuration
        • Additional Offerings
      • Offers Integration
      • Convenience Fee Integration
      • Custom Note Integration
      • MCP Integration
    • Core
      • Supported Payment Types
      • TPV Integration
      • Merchant Web Services
        • Getting Enabled Payment Options
        • GetCheckoutDetails API
        • Lookup API
    • Custom Browser
      • Integration
        • CustomBrowser Config
        • CustomBrowserCallback
        • Supporting below Lollipop Versions
        • Third-Party Payments Support
      • Sample App
      • Change Logs
    • Native OTP Assist
      • Integration
      • Customization
      • Change Logs
    • UPI
      • Integration
      • TPV Integration in UPI
      • Sample App
      • Change Logs
    • Google Pay™
      • Integration
      • Sample App
    • PhonePe
      • Integration
      • Sample App
      • Change Logs
    • OlaMoney
    • PayU OTP Parser
      • Integration
    • FAQ Android
  • iOS
    • PayUCheckoutPro
      • Integration
      • Advanced Integration
      • Set up the payment hashes
      • Convenience Fee Integration
      • MCP Integration
      • Custom Note Integration
    • Core
      • POD Integration
      • Seamless
      • Web Services
      • Objective C-Non-Seamless
      • Standing Instructions
      • TPV Integration
      • Sample App
    • Custom Browser
      • Sample App
    • OlaMoney
    • Native OTP Assist
      • Integration
      • Customization
    • UPI
      • Integration
      • Sample App
    • PayUParams
      • PayUSIParams
      • PayUBeneficiaryParams
  • Releasing to Apple
  • React-Native
    • PayUCheckoutPro
      • Integration
      • Set up the payment hashes
      • Advanced Integration
      • Change Logs
    • Core
    • Non-Seamless Wrapper
    • TPV (beta)
      • Integration
  • FAQ iOS
Powered by GitBook
On this page

Was this helpful?

  1. iOS
  2. Core

POD Integration

PreviousCoreNextSeamless

Last updated 3 years ago

Was this helpful?

  • If cocoa-pods is not installed, head for cocoa-pods installation instruction

  • Go inside your project directory from the terminal

      cd path/to/your/project
  • Now we are going to make an actual pod file, type in terminal:

      nano Podfile
  • It will open an Editor, in Editor type, add following line:

      target 'YourProjectName' do
          pod 'PayUIndia-PG-SDK'
      end
  • Now, press ctrl-x to leave the editor.

  • Last thing we have to do is to type in terminal

      pod install
  • Now, go to your project folder and open YourProjectName.xcworkspace.

  • Inside, Pods directory, you’ll find PayUIndia-PG-SDK

Swift Package Manager Integration

You can integrate PayUIndia-PG-SDK with your app or SDK in two ways:

  1. Via Xcode - Go to File-> Add Package->

  2. Via Package.Swift - Add below line in Package.swift dependencies

.package(name: "PayUIndia-PG-SDK", url: "https://github.com/payu-intrepos/iOS-SDK", from: "7.1.0")

here
https://github.com/payu-intrepos/iOS-SDK