microsoft / EmbeddedSocial-iOS-SDK

SDK for interacting with the Microsoft Embedded Social service from inside your iOS app
MIT License
19 stars 11 forks source link

Cocoapod implemented #642

Closed Vadim-Bulavin closed 7 years ago

Vadim-Bulavin commented 7 years ago

Instructions to test this PR.

  1. Create project named 'Test'.
  2. Open terminal.
  3. Type cd path/to/Test
  4. pod init
  5. Copy below text into created podfile:
target 'Test' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  pod 'EmbeddedSocial', :git => 'https://github.com/Microsoft/EmbeddedSocial-iOS-SDK.git', :branch => 'vbulavin/issue_537', :submodules => true

  target 'TestUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = ‘3.2’
    end
  end
end
  1. pod install
  2. import EmbeddedSocial into AppDelegate of the new project.
msftclas commented 7 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

:x: Vadim-Bulavin sign now
You have signed the CLA already but the status is still pending? Let us recheck it.