Zoho Account  

Having a Zoho account is an absolute must to be able to use the Zoho Lens SDK for iOS. If you do not have an account yet, sign up for one by visiting this link.

Installation

  • You can install using cocoapods.
  • Replace the following code in your Podfile, use the appropriate target name, and then install the pod.
  • Note: Deployment target for the SDK is iOS 11.0

Sample SDK

Copiedtarget 'Sample_SDK' do
  use_frameworks!

  pod 'LensSDK', :git => 'https://github.com/zoho/LensCustomerSDK.git', :tag => '2.4.1'

  post_install do |installer|
    installer.pods_project.targets.each do |target|
      if target.name["LensSDK"] || target.name["GoogleWebRTC"]
        target.build_configurations.each do |config|
          config.build_settings['ENABLE_BITCODE'] = 'NO'
        end
      end
      installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
        end
      end
    end
  end
end