Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.14 KB

File metadata and controls

35 lines (26 loc) · 1.14 KB

Installation via Cocoapods

  1. Add repo with Intelligence Retail specs and official Cocoapods specs into your project Podfile :
     source 'https://github.com/CocoaPods/Specs.git'
     source 'https://github.com/intrtl/specs'
  1. Add use_frameworks! param to your Podfile.

  2. Add IRLib pod as a dependency to your projects targets:

  target 'YourTarget' do
    pod 'IRLib'
  end
  
 post_install do |installer|
 installer.pods_project.targets.each do |target|
  if target.name == "GRDB.swift"
   target.build_configurations.each do |config|
    config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
   end
  end
 end
end

  1. Skip this step you haven't embedded the framework previously without Cocoapods. Remove IRLib.framework from embedded libraries (xcode project settings -> 'General' tab), Embedded Frameworks and Link binary with libraries sections (xcode project settings -> 'Build Phases' tab).

  2. Run pod install via terminal in directory with your project.

  3. To update version of previously installed framework run pod update IRLib via terminal in directory with your project.