undancer

AVSDK

  1 +#
  2 +# Be sure to run `pod spec lint AVSDK.podspec' to ensure this is a
  3 +# valid spec and to remove all comments including this before submitting the spec.
  4 +#
  5 +# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
  6 +# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
  7 +#
  8 +
  9 +Pod::Spec.new do |s|
  10 +
  11 + # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  12 + #
  13 + # These will help people to find your library, and whilst it
  14 + # can feel like a chore to fill in it's definitely to your advantage. The
  15 + # summary should be tweet-length, and the description more in depth.
  16 + #
  17 +
  18 + s.name = "AVSDK"
  19 + s.version = "0.0.1"
  20 + s.summary = "腾讯云-互动直播"
  21 +
  22 + # This description is used to generate tags and improve search results.
  23 + # * Think: What does it do? Why did you write it? What is the focus?
  24 + # * Try to keep it short, snappy and to the point.
  25 + # * Write the description between the DESC delimiters below.
  26 + # * Finally, don't worry about the indent, CocoaPods strips it!
  27 + s.description = <<-DESC
  28 + 腾讯云-互动直播
  29 + DESC
  30 +
  31 + s.homepage = "https://www.qcloud.com/document/product/268/7660"
  32 + # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
  33 +
  34 +
  35 + # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  36 + #
  37 + # Licensing your code is important. See http://choosealicense.com for more info.
  38 + # CocoaPods will detect a license file if there is a named LICENSE*
  39 + # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
  40 + #
  41 +
  42 + s.license = "MIT"
  43 + # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
  44 +
  45 +
  46 + # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  47 + #
  48 + # Specify the authors of the library, with email addresses. Email addresses
  49 + # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
  50 + # accepts just a name if you'd rather not provide an email address.
  51 + #
  52 + # Specify a social_media_url where others can refer to, for example a twitter
  53 + # profile URL.
  54 + #
  55 +
  56 + s.author = { "undancer" => "undancer@gmail.com" }
  57 + # Or just: s.author = "undancer"
  58 + # s.authors = { "undancer" => "undancer@gmail.com" }
  59 + # s.social_media_url = "http://twitter.com/undancer"
  60 +
  61 + # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  62 + #
  63 + # If this Pod runs only on iOS or OS X, then specify the platform and
  64 + # the deployment target. You can optionally include the target after the platform.
  65 + #
  66 +
  67 + # s.platform = :ios
  68 + s.platform = :ios, "7.0"
  69 +
  70 + # When using multiple platforms
  71 + # s.ios.deployment_target = "5.0"
  72 + # s.osx.deployment_target = "10.7"
  73 + # s.watchos.deployment_target = "2.0"
  74 + # s.tvos.deployment_target = "9.0"
  75 +
  76 +
  77 + # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  78 + #
  79 + # Specify the location from where the source should be retrieved.
  80 + # Supports git, hg, bzr, svn and HTTP.
  81 + #
  82 +
  83 + # s.source = { :git => "http://EXAMPLE/AVSDK.git", :tag => "#{s.version}" }
  84 + s.source = { :http => "http://dldir1.qq.com/hudongzhibo/ILiveSDK/AVSDK1.8.4_BETA.zip" }
  85 +
  86 +
  87 + # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  88 + #
  89 + # CocoaPods is smart about how it includes source code. For source files
  90 + # giving a folder will include any swift, h, m, mm, c & cpp files.
  91 + # For header files it will include any header in the folder.
  92 + # Not including the public_header_files will make all headers public.
  93 + #
  94 +
  95 + # s.source_files = "Classes", "Classes/**/*.{h,m}"
  96 + # s.exclude_files = "Classes/Exclude"
  97 +
  98 + # s.public_header_files = "Classes/**/*.h"
  99 +
  100 + s.vendored_frameworks = "Libs/QAVSDK.framework","Libs/xplatform.framework"
  101 +
  102 +
  103 +
  104 + # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  105 + #
  106 + # A list of resources included with the Pod. These are copied into the
  107 + # target bundle with a build phase script. Anything else will be cleaned.
  108 + # You can preserve files from being cleaned, please don't preserve
  109 + # non-essential files like tests, examples and documentation.
  110 + #
  111 +
  112 + # s.resource = "icon.png"
  113 + # s.resources = "Resources/*.png"
  114 +
  115 + # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
  116 +
  117 +
  118 + # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  119 + #
  120 + # Link your library with frameworks, or libraries. Libraries do not include
  121 + # the lib prefix of their name.
  122 + #
  123 +
  124 + # s.framework = "SomeFramework"
  125 + # s.frameworks = "SomeFramework", "AnotherFramework"
  126 +
  127 + s.frameworks = "UIKit","CoreVideo","CoreMedia","Accelerate","Foundation","AVFoundation","AudioToolbox","VideoToolbox","CoreGraphics","CoreTelephony","SystemConfiguration"
  128 +
  129 + # s.library = "iconv"
  130 + # s.libraries = "iconv", "xml2"
  131 + s.libraries = "c++","stdc++","stdc++.6","z","sqlite3","iconv","resolv","protobuf" #"z2",
  132 +
  133 +
  134 + # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  135 + #
  136 + # If your library depends on compiler flags you can set them in the xcconfig hash
  137 + # where they will only apply to your library. If you depend on other Podspecs
  138 + # you can include multiple dependencies to ensure it works.
  139 +
  140 + s.requires_arc = true
  141 +
  142 + # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  143 + # s.dependency "JSONKit", "~> 1.4"
  144 + s.dependency "IMSDK", "~> 0.0.1"
  145 +
  146 +
  147 +end