| 
 | 1 | +#  | 
 | 2 | +#  Be sure to run `pod spec lint EBForeNotification.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         = "EBForeNotification"  | 
 | 19 | +  s.version      = "1.1.0"  | 
 | 20 | +  s.summary      = "iOS 前台推送及事件处理。iOS Foreground Push Notification and event-handle."  | 
 | 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 | +在 App 处于前台时展示跟系统完全一样的推送弹窗和声音。获取推送内容,并处理点击事件。iOS Foreground Push Notification, the same as the system style, both Banner and Sound.  | 
 | 29 | +                   DESC  | 
 | 30 | + | 
 | 31 | +  s.homepage     = "https://github.com/Yasashi/EBForeNotification"  | 
 | 32 | +  # s.screenshots  = "https://github.com/Yasashi/EBForeNotification/raw/master/screenshot/screenshot01.gif", "https://github.com/Yasashi/EBForeNotification/raw/master/screenshot/screenshot02.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 => "LICENSE" }  | 
 | 44 | +  # s.license      = { :type => "MIT", :file => "FILE_LICENSE" }  | 
 | 45 | + | 
 | 46 | + | 
 | 47 | +  # ――― Author Metadata  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  | 
 | 48 | +  #  | 
 | 49 | +  #  Specify the authors of the library, with email addresses. Email addresses  | 
 | 50 | +  #  of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also  | 
 | 51 | +  #  accepts just a name if you'd rather not provide an email address.  | 
 | 52 | +  #  | 
 | 53 | +  #  Specify a social_media_url where others can refer to, for example a twitter  | 
 | 54 | +  #  profile URL.  | 
 | 55 | +  #  | 
 | 56 | + | 
 | 57 | +  s.author             = { "E.B" => "[email protected]" }  | 
 | 58 | +  # Or just: s.author    = "E.B"  | 
 | 59 | +  # s.authors            = { "E.B" => "[email protected]" }  | 
 | 60 | +  # s.social_media_url   = "http://twitter.com/E.B"  | 
 | 61 | + | 
 | 62 | +  # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  | 
 | 63 | +  #  | 
 | 64 | +  #  If this Pod runs only on iOS or OS X, then specify the platform and  | 
 | 65 | +  #  the deployment target. You can optionally include the target after the platform.  | 
 | 66 | +  #  | 
 | 67 | + | 
 | 68 | +  # s.platform     = :ios  | 
 | 69 | +    s.platform     = :ios, "7.0"  | 
 | 70 | + | 
 | 71 | +  #  When using multiple platforms  | 
 | 72 | +    s.ios.deployment_target = "7.0"  | 
 | 73 | +  # s.osx.deployment_target = "10.7"  | 
 | 74 | +  # s.watchos.deployment_target = "2.0"  | 
 | 75 | +  # s.tvos.deployment_target = "9.0"  | 
 | 76 | + | 
 | 77 | + | 
 | 78 | +  # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  | 
 | 79 | +  #  | 
 | 80 | +  #  Specify the location from where the source should be retrieved.  | 
 | 81 | +  #  Supports git, hg, bzr, svn and HTTP.  | 
 | 82 | +  #  | 
 | 83 | + | 
 | 84 | +  s.source       = { :git => "https://github.com/Yasashi/EBForeNotification.git", :tag => "#{s.version}" }  | 
 | 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.source_files  = "EBForeNotification", "EBForeNotification/*.{h,m}"  | 
 | 97 | + | 
 | 98 | +  #s.exclude_files = "Classes/Exclude"  | 
 | 99 | + | 
 | 100 | +  s.public_header_files = "EBForeNotification/EBForeNotification.h"  | 
 | 101 | + | 
 | 102 | + | 
 | 103 | +  # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  | 
 | 104 | +  #  | 
 | 105 | +  #  A list of resources included with the Pod. These are copied into the  | 
 | 106 | +  #  target bundle with a build phase script. Anything else will be cleaned.  | 
 | 107 | +  #  You can preserve files from being cleaned, please don't preserve  | 
 | 108 | +  #  non-essential files like tests, examples and documentation.  | 
 | 109 | +  #  | 
 | 110 | + | 
 | 111 | +  # s.resource  = "icon.png"  | 
 | 112 | +   s.resources = "EBForeNotification/*.xib"  | 
 | 113 | + | 
 | 114 | +  # s.preserve_paths = "FilesToSave", "MoreFilesToSave"  | 
 | 115 | + | 
 | 116 | + | 
 | 117 | +  # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  | 
 | 118 | +  #  | 
 | 119 | +  #  Link your library with frameworks, or libraries. Libraries do not include  | 
 | 120 | +  #  the lib prefix of their name.  | 
 | 121 | +  #  | 
 | 122 | + | 
 | 123 | +  # s.framework  = "SomeFramework"  | 
 | 124 | +   s.frameworks = "UIKit", "Foundation", "AudioToolbox"  | 
 | 125 | + | 
 | 126 | +   s.library   = "objc"  | 
 | 127 | +  # s.libraries = "iconv", "xml2"  | 
 | 128 | + | 
 | 129 | + | 
 | 130 | +  # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  | 
 | 131 | +  #  | 
 | 132 | +  #  If your library depends on compiler flags you can set them in the xcconfig hash  | 
 | 133 | +  #  where they will only apply to your library. If you depend on other Podspecs  | 
 | 134 | +  #  you can include multiple dependencies to ensure it works.  | 
 | 135 | + | 
 | 136 | +  # s.requires_arc = true  | 
 | 137 | + | 
 | 138 | +  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }  | 
 | 139 | +  # s.dependency "JSONKit", "~> 1.4"  | 
 | 140 | + | 
 | 141 | +end  | 
0 commit comments