cocoapods-xzpackager 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +3 -0
- data/.rubocop-cocoapods.yml +71 -0
- data/.rubocop.yml +38 -0
- data/.travis.yml +9 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +121 -0
- data/LICENSE +22 -0
- data/README.md +42 -0
- data/Rakefile +12 -0
- data/TAGS +180 -0
- data/cocoapods-xzpackager.gemspec +22 -0
- data/lib/cocoapods-packager/builder.rb +335 -0
- data/lib/cocoapods-packager/framework.rb +75 -0
- data/lib/cocoapods-packager/mangle.rb +32 -0
- data/lib/cocoapods-packager/pod_utils.rb +244 -0
- data/lib/cocoapods-packager/spec_builder.rb +219 -0
- data/lib/cocoapods-packager/symbols.rb +42 -0
- data/lib/cocoapods-packager/user_interface/build_failed_report.rb +15 -0
- data/lib/cocoapods_plugin.rb +8 -0
- data/lib/cocoapods_xzpackager.rb +5 -0
- data/lib/pod/command/package.rb +226 -0
- data/scripts/lstconst.sh +9 -0
- data/scripts/lstsym.sh +8 -0
- data/spec/command/error_spec.rb +74 -0
- data/spec/command/package_spec.rb +359 -0
- data/spec/command/subspecs_spec.rb +30 -0
- data/spec/fixtures/Builder.podspec +25 -0
- data/spec/fixtures/CPDColors.podspec +19 -0
- data/spec/fixtures/FH.podspec +18 -0
- data/spec/fixtures/KFData.podspec +73 -0
- data/spec/fixtures/LibraryConsumerDemo/.gitignore +22 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj +340 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/xcshareddata/xcschemes/LibraryConsumer.xcscheme +100 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.h +17 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m +27 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/Info.plist +40 -0
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/main.m +16 -0
- data/spec/fixtures/LibraryConsumerDemo/Podfile +5 -0
- data/spec/fixtures/LibraryDemo.podspec +14 -0
- data/spec/fixtures/NikeKit.podspec +19 -0
- data/spec/fixtures/OpenSans.podspec +18 -0
- data/spec/fixtures/PackagerTest/.gitignore +21 -0
- data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj +536 -0
- data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/xcshareddata/xcschemes/PackagerTest.xcscheme +110 -0
- data/spec/fixtures/PackagerTest/PackagerTest.xcworkspace/contents.xcworkspacedata +1 -0
- data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.h +15 -0
- data/spec/fixtures/PackagerTest/PackagerTest/CPDAppDelegate.m +49 -0
- data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
- data/spec/fixtures/PackagerTest/PackagerTest/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
- data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Info.plist +38 -0
- data/spec/fixtures/PackagerTest/PackagerTest/PackagerTest-Prefix.pch +16 -0
- data/spec/fixtures/PackagerTest/PackagerTest/en.lproj/InfoPlist.strings +2 -0
- data/spec/fixtures/PackagerTest/PackagerTest/main.m +18 -0
- data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests-Info.plist +22 -0
- data/spec/fixtures/PackagerTest/PackagerTestTests/PackagerTestTests.m +34 -0
- data/spec/fixtures/PackagerTest/PackagerTestTests/en.lproj/InfoPlist.strings +2 -0
- data/spec/fixtures/PackagerTest/Podfile +10 -0
- data/spec/fixtures/PackagerTest/Podfile.lock +32 -0
- data/spec/fixtures/Weakly.podspec +13 -0
- data/spec/fixtures/a.podspec +19 -0
- data/spec/fixtures/foo-bar.podspec +19 -0
- data/spec/fixtures/layer-client-messaging-schema.podspec +13 -0
- data/spec/integration/project_spec.rb +70 -0
- data/spec/pod/utils_spec.rb +58 -0
- data/spec/spec_helper.rb +50 -0
- data/spec/specification/builder_spec.rb +40 -0
- data/spec/specification/spec_builder_spec.rb +61 -0
- data/spec/user_interface/build_failed_report_spec.rb +11 -0
- metadata +225 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5f89eec07e3648e74c4259e34ed632bb1547c8b833145839b4954dc83fcdf937
|
4
|
+
data.tar.gz: 7ed9a80f4b0679e4afb108e01aa32b908b8b62690809d35dbe0f5a3b0f91e6c2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c60536a6c96dfe307e484623036a9d8346a7ed4b3d902b4b75089c0f99b0dbb6356ad77ccad14b03200056726c0e137687e11ab42d67683a7dcf4e6d13987733
|
7
|
+
data.tar.gz: 73002b5466ce925071287f12616ea11980a13338bda2220ec8f0c2cbd1da216361ed41f2326aa3dca9c790d82afbd4e7c4686bd1c974dd6278868057e5b156c5
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
AllCops:
|
2
|
+
Include:
|
3
|
+
- Rakefile
|
4
|
+
- Gemfile
|
5
|
+
- ./*.gemspec
|
6
|
+
Exclude:
|
7
|
+
- spec/fixtures/**/*
|
8
|
+
- vendor/**/*
|
9
|
+
|
10
|
+
# At the moment not ready to be used
|
11
|
+
# https://github.com/bbatsov/rubocop/issues/947
|
12
|
+
Documentation:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
#- CocoaPods -----------------------------------------------------------------#
|
16
|
+
|
17
|
+
# We adopted raise instead of fail.
|
18
|
+
SignalException:
|
19
|
+
EnforcedStyle: only_raise
|
20
|
+
|
21
|
+
# They are idiomatic
|
22
|
+
AssignmentInCondition:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
# Allow backticks
|
26
|
+
AsciiComments:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
# Indentation clarifies logic branches in implementations
|
30
|
+
IfUnlessModifier:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
# No enforced convention here.
|
34
|
+
SingleLineBlockParams:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
# We only add the comment when needed.
|
38
|
+
Encoding:
|
39
|
+
Enabled: false
|
40
|
+
|
41
|
+
#- CocoaPods support for Ruby 1.8.7 ------------------------------------------#
|
42
|
+
|
43
|
+
HashSyntax:
|
44
|
+
EnforcedStyle: hash_rockets
|
45
|
+
|
46
|
+
Lambda:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
DotPosition:
|
50
|
+
EnforcedStyle: trailing
|
51
|
+
|
52
|
+
#- CocoaPods specs -----------------------------------------------------------#
|
53
|
+
|
54
|
+
# Allow for `should.match /regexp/`.
|
55
|
+
AmbiguousRegexpLiteral:
|
56
|
+
Exclude:
|
57
|
+
- spec/**/*
|
58
|
+
|
59
|
+
# Allow `object.should == object` syntax.
|
60
|
+
Void:
|
61
|
+
Exclude:
|
62
|
+
- spec/**/*
|
63
|
+
|
64
|
+
ClassAndModuleChildren:
|
65
|
+
Exclude:
|
66
|
+
- spec/**/*
|
67
|
+
|
68
|
+
UselessComparison:
|
69
|
+
Exclude:
|
70
|
+
- spec/**/*
|
71
|
+
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
inherit_from:
|
2
|
+
- .rubocop-cocoapods.yml
|
3
|
+
|
4
|
+
#- Core -----------------------------------------------------------------------
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
Exclude:
|
8
|
+
- spec/**/*
|
9
|
+
- spec/fixtures/**/*
|
10
|
+
- vendor/**/*
|
11
|
+
|
12
|
+
Style/Tab:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
LineLength:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
ClassLength:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
MethodLength:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Metrics/AbcSize:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Metrics/CyclomaticComplexity:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
Metrics/PerceivedComplexity:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
Metrics/ParameterLists:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Style/SpecialGlobalVars:
|
37
|
+
EnforcedStyle: use_perl_names
|
38
|
+
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cocoapods-packager (1.5.0)
|
5
|
+
cocoapods (>= 1.1.1, < 2.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activesupport (4.2.7.1)
|
11
|
+
i18n (~> 0.7)
|
12
|
+
json (~> 1.7, >= 1.7.7)
|
13
|
+
minitest (~> 5.1)
|
14
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
ast (2.3.0)
|
17
|
+
bacon (1.2.0)
|
18
|
+
claide (1.0.1)
|
19
|
+
cocoapods (1.1.1)
|
20
|
+
activesupport (>= 4.0.2, < 5)
|
21
|
+
claide (>= 1.0.1, < 2.0)
|
22
|
+
cocoapods-core (= 1.1.1)
|
23
|
+
cocoapods-deintegrate (>= 1.0.1, < 2.0)
|
24
|
+
cocoapods-downloader (>= 1.1.2, < 2.0)
|
25
|
+
cocoapods-plugins (>= 1.0.0, < 2.0)
|
26
|
+
cocoapods-search (>= 1.0.0, < 2.0)
|
27
|
+
cocoapods-stats (>= 1.0.0, < 2.0)
|
28
|
+
cocoapods-trunk (>= 1.1.1, < 2.0)
|
29
|
+
cocoapods-try (>= 1.1.0, < 2.0)
|
30
|
+
colored (~> 1.2)
|
31
|
+
escape (~> 0.0.4)
|
32
|
+
fourflusher (~> 2.0.1)
|
33
|
+
gh_inspector (~> 1.0)
|
34
|
+
molinillo (~> 0.5.1)
|
35
|
+
nap (~> 1.0)
|
36
|
+
xcodeproj (>= 1.3.3, < 2.0)
|
37
|
+
cocoapods-core (1.1.1)
|
38
|
+
activesupport (>= 4.0.2, < 5)
|
39
|
+
fuzzy_match (~> 2.0.4)
|
40
|
+
nap (~> 1.0)
|
41
|
+
cocoapods-deintegrate (1.0.1)
|
42
|
+
cocoapods-downloader (1.1.2)
|
43
|
+
cocoapods-plugins (1.0.0)
|
44
|
+
nap
|
45
|
+
cocoapods-search (1.0.0)
|
46
|
+
cocoapods-stats (1.0.0)
|
47
|
+
cocoapods-trunk (1.1.1)
|
48
|
+
nap (>= 0.8, < 2.0)
|
49
|
+
netrc (= 0.7.8)
|
50
|
+
cocoapods-try (1.1.0)
|
51
|
+
colored (1.2)
|
52
|
+
coveralls (0.8.14)
|
53
|
+
json (>= 1.8, < 3)
|
54
|
+
simplecov (~> 0.12.0)
|
55
|
+
term-ansicolor (~> 1.3)
|
56
|
+
thor (~> 0.19.1)
|
57
|
+
tins (~> 1.6.0)
|
58
|
+
docile (1.1.5)
|
59
|
+
escape (0.0.4)
|
60
|
+
fourflusher (2.0.1)
|
61
|
+
fuzzy_match (2.0.4)
|
62
|
+
gh_inspector (1.0.2)
|
63
|
+
i18n (0.7.0)
|
64
|
+
json (1.8.3)
|
65
|
+
metaclass (0.0.4)
|
66
|
+
minitest (5.9.1)
|
67
|
+
mocha (0.11.4)
|
68
|
+
metaclass (~> 0.0.1)
|
69
|
+
mocha-on-bacon (0.2.1)
|
70
|
+
mocha (>= 0.9.8)
|
71
|
+
molinillo (0.5.2)
|
72
|
+
nap (1.1.0)
|
73
|
+
netrc (0.7.8)
|
74
|
+
parser (2.3.1.2)
|
75
|
+
ast (~> 2.2)
|
76
|
+
powerpack (0.1.1)
|
77
|
+
prettybacon (0.0.2)
|
78
|
+
bacon (~> 1.2)
|
79
|
+
rainbow (2.1.0)
|
80
|
+
rake (11.2.2)
|
81
|
+
rubocop (0.41.2)
|
82
|
+
parser (>= 2.3.1.1, < 3.0)
|
83
|
+
powerpack (~> 0.1)
|
84
|
+
rainbow (>= 1.99.1, < 3.0)
|
85
|
+
ruby-progressbar (~> 1.7)
|
86
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
87
|
+
ruby-progressbar (1.8.1)
|
88
|
+
simplecov (0.12.0)
|
89
|
+
docile (~> 1.1.0)
|
90
|
+
json (>= 1.8, < 3)
|
91
|
+
simplecov-html (~> 0.10.0)
|
92
|
+
simplecov-html (0.10.0)
|
93
|
+
term-ansicolor (1.3.2)
|
94
|
+
tins (~> 1.0)
|
95
|
+
thor (0.19.1)
|
96
|
+
thread_safe (0.3.5)
|
97
|
+
tins (1.6.0)
|
98
|
+
tzinfo (1.2.2)
|
99
|
+
thread_safe (~> 0.1)
|
100
|
+
unicode-display_width (1.1.0)
|
101
|
+
xcodeproj (1.3.3)
|
102
|
+
activesupport (>= 3)
|
103
|
+
claide (>= 1.0.1, < 2.0)
|
104
|
+
colored (~> 1.2)
|
105
|
+
|
106
|
+
PLATFORMS
|
107
|
+
ruby
|
108
|
+
|
109
|
+
DEPENDENCIES
|
110
|
+
bacon
|
111
|
+
bundler (~> 1.3)
|
112
|
+
cocoapods-packager!
|
113
|
+
coveralls
|
114
|
+
mocha (~> 0.11.4)
|
115
|
+
mocha-on-bacon
|
116
|
+
prettybacon
|
117
|
+
rake
|
118
|
+
rubocop
|
119
|
+
|
120
|
+
BUNDLED WITH
|
121
|
+
1.13.5
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
This project is licensed under the MIT license.
|
2
|
+
|
3
|
+
Copyright (c) 2014 Kyle Fuller, Boris Bügling and CocoaPods Dev Team
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# CocoaPods Packager
|
2
|
+
|
3
|
+
[![Build Status](http://img.shields.io/travis/CocoaPods/cocoapods-packager/master.svg?style=flat)](https://travis-ci.org/CocoaPods/cocoapods-packager)
|
4
|
+
[![Coverage Status](https://img.shields.io/coveralls/CocoaPods/cocoapods-packager.svg)](https://coveralls.io/r/CocoaPods/cocoapods-packager?branch=master)
|
5
|
+
[![Gem Version](http://img.shields.io/gem/v/cocoapods-packager.svg?style=flat)](http://badge.fury.io/rb/cocoapods-packager)
|
6
|
+
[![Code Climate](http://img.shields.io/codeclimate/github/CocoaPods/cocoapods-packager.svg?style=flat)](https://codeclimate.com/github/CocoaPods/cocoapods-packager)
|
7
|
+
|
8
|
+
CocoaPods plugin which allows you to generate a framework or static library from a podspec.
|
9
|
+
|
10
|
+
This plugin is for CocoaPods *developers*, who need to distribute their Pods not only via CocoaPods, but also as frameworks or static libraries for people who do not use Pods.
|
11
|
+
|
12
|
+
## Why should I use Pods if I'm targeting developers who don't use Pods?
|
13
|
+
|
14
|
+
There are still a number of advantages to developing against a `podspec`, even if your public distribution is closed-source:
|
15
|
+
|
16
|
+
1. You can easily use the Pod in-house in an open-source style. This makes step-by-step debugging and multi-project development a breeze.
|
17
|
+
2. You can pull in third-party dependencies using CocoaPods. (CocoaPods Packager is even capable of mangling symbols to improve compatibility with any symbols that might appear in the integrating app.)
|
18
|
+
3. You can declaratively specify build settings (e.g. frameworks, compiler flags) in your `podspec`. This is easier to maintain and replicate than build settings embedded in your Xcode project.
|
19
|
+
|
20
|
+
## Installation
|
21
|
+
|
22
|
+
```sh
|
23
|
+
$ gem install cocoapods-packager
|
24
|
+
```
|
25
|
+
|
26
|
+
or add a line to your Gemfile:
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
gem "cocoapods-packager"
|
30
|
+
```
|
31
|
+
|
32
|
+
then run `bundle install`.
|
33
|
+
|
34
|
+
This installs Packager as a CocoaPods plugin.
|
35
|
+
|
36
|
+
## Usage
|
37
|
+
|
38
|
+
```bash
|
39
|
+
$ pod package KFData.podspec
|
40
|
+
```
|
41
|
+
|
42
|
+
See also `pod --help`.
|
data/Rakefile
ADDED
data/TAGS
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
|
2
|
+
spec/pod/utils_spec.rb,19
|
3
|
+
module PodPod3,0
|
4
|
+
|
5
|
+
spec/spec_helper.rb,430
|
6
|
+
ROOT = Pathname.new(File.expand_path('../../', __FILE__))ROOT5,0
|
7
|
+
module PodPod19,0
|
8
|
+
module UIUI27,0
|
9
|
+
module UIPod::UI27,0
|
10
|
+
attr_accessor :outputoutput32,0
|
11
|
+
attr_accessor :outputoutput=32,0
|
12
|
+
attr_accessor :warningswarnings33,0
|
13
|
+
attr_accessor :warningswarnings=33,0
|
14
|
+
def puts(message = '')puts35,0
|
15
|
+
def warn(message = '', actions = [])warn39,0
|
16
|
+
def print(message)print43,0
|
17
|
+
|
18
|
+
spec/integration/project_spec.rb,106
|
19
|
+
module PodPod3,0
|
20
|
+
DONT_CODESIGN = trueDONT_CODESIGN5,0
|
21
|
+
DONT_CODESIGN = truePod::DONT_CODESIGN5,0
|
22
|
+
|
23
|
+
spec/specification/builder_spec.rb,19
|
24
|
+
module PodPod3,0
|
25
|
+
|
26
|
+
spec/specification/spec_builder_spec.rb,19
|
27
|
+
module PodPod3,0
|
28
|
+
|
29
|
+
spec/user_interface/build_failed_report_spec.rb,106
|
30
|
+
module PodPod3,0
|
31
|
+
module UserInterfaceUserInterface4,0
|
32
|
+
module UserInterfacePod::UserInterface4,0
|
33
|
+
|
34
|
+
spec/command/error_spec.rb,19
|
35
|
+
module PodPod3,0
|
36
|
+
|
37
|
+
spec/command/package_spec.rb,106
|
38
|
+
module PodPod3,0
|
39
|
+
DONT_CODESIGN = trueDONT_CODESIGN5,0
|
40
|
+
DONT_CODESIGN = truePod::DONT_CODESIGN5,0
|
41
|
+
|
42
|
+
spec/command/subspecs_spec.rb,19
|
43
|
+
module PodPod3,0
|
44
|
+
|
45
|
+
lib/pod/command/package.rb,812
|
46
|
+
module PodPod3,0
|
47
|
+
class CommandCommand4,0
|
48
|
+
class CommandPod::Command4,0
|
49
|
+
class Package < CommandPackage5,0
|
50
|
+
class Package < CommandPod::Command::Package5,0
|
51
|
+
def self.optionsoptions12,0
|
52
|
+
def initialize(argv)initialize29,0
|
53
|
+
def validate!validate!62,0
|
54
|
+
def runrun71,0
|
55
|
+
def build_in_sandbox(platform)build_in_sandbox88,0
|
56
|
+
def build_packagebuild_package108,0
|
57
|
+
def zip_upload_static_serverzip_upload_static_server122,0
|
58
|
+
def upload_ftp_serverupload_ftp_server132,0
|
59
|
+
def sftp_upload(ftp)sftp_upload144,0
|
60
|
+
def create_target_directorycreate_target_directory170,0
|
61
|
+
def create_working_directorycreate_working_directory184,0
|
62
|
+
def perform_build(platform, static_sandbox, dynamic_sandbox, static_installer)perform_build195,0
|
63
|
+
|
64
|
+
lib/cocoapods-packager/pod_utils.rb,1460
|
65
|
+
module PodPod1,0
|
66
|
+
class CommandCommand2,0
|
67
|
+
class CommandPod::Command2,0
|
68
|
+
class Package < CommandPackage3,0
|
69
|
+
class Package < CommandPod::Command::Package3,0
|
70
|
+
def build_static_sandbox(dynamic)build_static_sandbox6,0
|
71
|
+
def install_pod(platform_name, sandbox)install_pod15,0
|
72
|
+
def podfile_from_spec(path, spec_name, platform_name, deployment_target, subspecs, sources)podfile_from_spec41,0
|
73
|
+
def binary_only?(spec)binary_only?66,0
|
74
|
+
def spec_with_name(name)spec_with_name79,0
|
75
|
+
def spec_with_path(path)spec_with_path88,0
|
76
|
+
def build_dynamic_sandbox(_static_sandbox, _static_installer)build_dynamic_sandbox113,0
|
77
|
+
def install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer, platform)install_dynamic_pod128,0
|
78
|
+
def build_dynamic_target(dynamic_sandbox, static_installer, platform)build_dynamic_target152,0
|
79
|
+
def prepare_pods_project(dynamic_sandbox, spec_name, installer)prepare_pods_project171,0
|
80
|
+
def copy_dynamic_target(static_sandbox, _dynamic_target, dynamic_sandbox)copy_dynamic_target188,0
|
81
|
+
def create_file_accessors(target, dynamic_sandbox)create_file_accessors193,0
|
82
|
+
def install_file_references(dynamic_sandbox, pod_targets, pods_project)install_file_references202,0
|
83
|
+
def install_library(dynamic_sandbox, dynamic_target, project)install_library207,0
|
84
|
+
def write_pod_project(dynamic_project, dynamic_sandbox)write_pod_project226,0
|
85
|
+
|
86
|
+
lib/cocoapods-packager/builder.rb,1900
|
87
|
+
module PodPod1,0
|
88
|
+
class BuilderBuilder2,0
|
89
|
+
class BuilderPod::Builder2,0
|
90
|
+
def initialize(platform, static_installer, source_dir, static_sandbox_root, dynamic_sandbox_root, public_headers_root, spec, embedded, mangle, dynamic, config, bundle_identifier, exclude_deps)initialize3,0
|
91
|
+
def build(package_type)build21,0
|
92
|
+
def build_static_librarybuild_static_library32,0
|
93
|
+
def build_static_frameworkbuild_static_framework50,0
|
94
|
+
def link_embedded_resourceslink_embedded_resources71,0
|
95
|
+
def build_dynamic_frameworkbuild_dynamic_framework81,0
|
96
|
+
def build_dynamic_framework_for_ios(defines, output)build_dynamic_framework_for_ios103,0
|
97
|
+
def build_dynamic_framework_for_mac(defines, _output)build_dynamic_framework_for_mac124,0
|
98
|
+
def build_sim_libraries(defines)build_sim_libraries138,0
|
99
|
+
def build_static_library_for_ios(output)build_static_library_for_ios144,0
|
100
|
+
def build_static_library_for_mac(output)build_static_library_for_mac155,0
|
101
|
+
def build_with_mangling(options)build_with_mangling160,0
|
102
|
+
def clean_directory_for_dynamic_buildclean_directory_for_dynamic_build170,0
|
103
|
+
def compilecompile179,0
|
104
|
+
def copy_headerscopy_headers196,0
|
105
|
+
def copy_licensecopy_license225,0
|
106
|
+
def copy_resourcescopy_resources231,0
|
107
|
+
def create_frameworkcreate_framework249,0
|
108
|
+
def dependency_countdependency_count254,0
|
109
|
+
def expand_paths(path_specs)expand_paths264,0
|
110
|
+
def static_libs_in_sandbox(build_dir = 'build')static_libs_in_sandbox270,0
|
111
|
+
def vendored_librariesvendored_libraries279,0
|
112
|
+
def static_linker_flags_in_sandboxstatic_linker_flags_in_sandbox294,0
|
113
|
+
def ios_build_optionsios_build_options303,0
|
114
|
+
def ios_architecturesios_architectures307,0
|
115
|
+
def xcodebuild(defines = '', args = '', build_dir = 'build', target = 'Pods-packager', project_root = @static_sandbox_root, config = @config)xcodebuild315,0
|
116
|
+
|
117
|
+
lib/cocoapods-packager/symbols.rb,210
|
118
|
+
module SymbolsSymbols1,0
|
119
|
+
def symbols_from_library(library)symbols_from_library2,0
|
120
|
+
def classes_from_symbols(syms)classes_from_symbols21,0
|
121
|
+
def constants_from_symbols(syms)constants_from_symbols27,0
|
122
|
+
|
123
|
+
lib/cocoapods-packager/spec_builder.rb,699
|
124
|
+
module PodPod2,0
|
125
|
+
class SpecBuilderSpecBuilder3,0
|
126
|
+
class SpecBuilderPod::SpecBuilder3,0
|
127
|
+
def initialize(spec, source, embedded, dynamic)initialize4,0
|
128
|
+
def framework_pathframework_path14,0
|
129
|
+
def spec_platform(platform)spec_platform22,0
|
130
|
+
def subspec_jsonsubspec_json42,0
|
131
|
+
def get_all_type(type)get_all_type50,0
|
132
|
+
def get_spec_jsonget_spec_json110,0
|
133
|
+
def get_resourceget_resource113,0
|
134
|
+
def process_platform_hashprocess_platform_hash116,0
|
135
|
+
def get_platformget_platform133,0
|
136
|
+
def get_all_dependenices(plat)get_all_dependenices145,0
|
137
|
+
def spec_metadataspec_metadata151,0
|
138
|
+
def spec_closespec_close199,0
|
139
|
+
def spec_headerspec_header205,0
|
140
|
+
|
141
|
+
lib/cocoapods-packager/framework.rb,817
|
142
|
+
module FrameworkFramework2,0
|
143
|
+
class TreeTree3,0
|
144
|
+
class TreeFramework::Tree3,0
|
145
|
+
attr_reader :headers_pathheaders_path4,0
|
146
|
+
attr_reader :module_map_pathmodule_map_path5,0
|
147
|
+
attr_reader :resources_pathresources_path6,0
|
148
|
+
attr_reader :root_pathroot_path7,0
|
149
|
+
attr_reader :versions_pathversions_path8,0
|
150
|
+
attr_accessor :fwk_pathfwk_path9,0
|
151
|
+
attr_accessor :fwk_pathfwk_path=9,0
|
152
|
+
def delete_resourcesdelete_resources10,0
|
153
|
+
def initialize(name, platform, embedded)initialize15,0
|
154
|
+
def makemake21,0
|
155
|
+
def process_static_frameworkprocess_static_framework29,0
|
156
|
+
def make_current_versionmake_current_version39,0
|
157
|
+
def make_frameworkmake_framework47,0
|
158
|
+
def make_headersmake_headers55,0
|
159
|
+
def make_resourcesmake_resources60,0
|
160
|
+
def make_rootmake_root65,0
|
161
|
+
|
162
|
+
lib/cocoapods-packager/mangle.rb,170
|
163
|
+
module SymbolsSymbols1,0
|
164
|
+
def mangle_for_pod_dependencies(pod_name, sandbox_root)mangle_for_pod_dependencies10,0
|
165
|
+
def alias_symbol(sym, pod_name)alias_symbol26,0
|
166
|
+
|
167
|
+
lib/cocoapods-packager/user_interface/build_failed_report.rb,275
|
168
|
+
module PodPod1,0
|
169
|
+
module UserInterfaceUserInterface2,0
|
170
|
+
module UserInterfacePod::UserInterface2,0
|
171
|
+
module BuildFailedReportBuildFailedReport3,0
|
172
|
+
module BuildFailedReportPod::UserInterface::BuildFailedReport3,0
|
173
|
+
def report(command, output)report5,0
|
174
|
+
|
175
|
+
lib/cocoapods_packager.rb,183
|
176
|
+
module PodPod1,0
|
177
|
+
module PackagerPackager2,0
|
178
|
+
module PackagerPod::Packager2,0
|
179
|
+
VERSION = '1.5.0'.freezeVERSION3,0
|
180
|
+
VERSION = '1.5.0'.freezePod::Packager::VERSION3,0
|