Skip to content

Commit 6f03025

Browse files
committed
update .podspec
1 parent 91abe05 commit 6f03025

1 file changed

Lines changed: 1 addition & 107 deletions

File tree

FEPopupMenuController.podspec

Lines changed: 1 addition & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,9 @@
88

99
Pod::Spec.new do |s|
1010

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-
1811
s.name = "FEPopupMenuController"
1912
s.version = "0.0.2"
2013
s.summary = "A simple, elegant pop-up menu view."
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!
2714
s.description = <<-DESC
2815
a easy to use,customization pop-up menu view.
2916
DESC
@@ -32,106 +19,13 @@ Pod::Spec.new do |s|
3219
s.screenshots = "https://raw.github.com/Feelinging/FEPopupMenuController/master/screenshot.png"
3320

3421

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-
4222
s.license = "MIT"
43-
# s.license = { :type => "MIT", :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-
5623
s.author = { "isaced" => "isaced@163.com" }
57-
# s.authors = { "isaced" => "isaced@163.com" }
58-
# s.social_media_url = "http://twitter.com/isaced"
59-
60-
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
61-
#
62-
# If this Pod runs only on iOS or OS X, then specify the platform and
63-
# the deployment target. You can optionally include the target after the platform.
64-
#
65-
66-
# s.platform = :ios
6724
s.platform = :ios, "7.0"
68-
69-
# When using multiple platforms
70-
# s.ios.deployment_target = "5.0"
71-
# s.osx.deployment_target = "10.7"
72-
# s.watchos.deployment_target = "2.0"
73-
# s.tvos.deployment_target = "9.0"
74-
75-
76-
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
77-
#
78-
# Specify the location from where the source should be retrieved.
79-
# Supports git, hg, bzr, svn and HTTP.
80-
#
81-
8225
s.source = { :git => "https://github.com/Feelinging/FEPopupMenuController.git", :tag => "0.0.2" }
8326

84-
85-
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
86-
#
87-
# CocoaPods is smart about how it includes source code. For source files
88-
# giving a folder will include any swift, h, m, mm, c & cpp files.
89-
# For header files it will include any header in the folder.
90-
# Not including the public_header_files will make all headers public.
91-
#
92-
9327
s.source_files = "FEPopupMenuController", "FEPopupMenuController/**/*.{h,m}"
94-
# s.exclude_files = "Classes/Exclude"
95-
96-
# s.public_header_files = "Classes/**/*.h"
97-
98-
99-
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
100-
#
101-
# A list of resources included with the Pod. These are copied into the
102-
# target bundle with a build phase script. Anything else will be cleaned.
103-
# You can preserve files from being cleaned, please don't preserve
104-
# non-essential files like tests, examples and documentation.
105-
#
106-
107-
# s.resource = "icon.png"
108-
s.resources = "FEPopupMenuController/**/*.xib"
109-
110-
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
111-
112-
113-
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
114-
#
115-
# Link your library with frameworks, or libraries. Libraries do not include
116-
# the lib prefix of their name.
117-
#
118-
119-
# s.framework = "SomeFramework"
120-
# s.frameworks = "SomeFramework", "AnotherFramework"
121-
122-
# s.library = "iconv"
123-
# s.libraries = "iconv", "xml2"
124-
125-
126-
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
127-
#
128-
# If your library depends on compiler flags you can set them in the xcconfig hash
129-
# where they will only apply to your library. If you depend on other Podspecs
130-
# you can include multiple dependencies to ensure it works.
131-
28+
s.resource_bundle = { "FEPopupResource" => "FEPopupMenuController/**/*.xib" }
13229
s.requires_arc = true
13330

134-
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
135-
# s.dependency "JSONKit", "~> 1.4"
136-
13731
end

0 commit comments

Comments
 (0)