download-profiles 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +14 -13
- data/README.md +27 -144
- data/lib/download-profiles/provisioning_portal/agent.rb +3 -1
- data/lib/download-profiles/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd39491ec9a23593a56d858eed053c889d76aa81
|
4
|
+
data.tar.gz: c397de1ecb8c98f91b25cd1369ef9d28f3a11190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35b460813cce3e74186a01a3b5f321ab70e26ebe79bbcfd3487c8b84882dae92077dd4a82207f9bc9facb6ad5a34a0e7d29049ab45c9f6bf73160c133d3ee6a0
|
7
|
+
data.tar.gz: 8eacc22d3bb4c7470edacda68cedc0113e58d459d167bc3fce5464dcf3dd45767a099ef018424526c834e381f34395c8365b386c6bf9b1cf87fd0a91ffd6192c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
download-profiles (1.0.
|
4
|
+
download-profiles (1.0.1)
|
5
5
|
certified (>= 0.1.0)
|
6
6
|
commander (~> 4.2.0)
|
7
7
|
mechanize (~> 2.7.3)
|
@@ -34,22 +34,23 @@ GEM
|
|
34
34
|
mini_portile (0.6.2)
|
35
35
|
net-http-digest_auth (1.4)
|
36
36
|
net-http-persistent (2.9.4)
|
37
|
-
nokogiri (1.6.
|
37
|
+
nokogiri (1.6.6.2)
|
38
38
|
mini_portile (~> 0.6.0)
|
39
39
|
ntlm-http (0.1.1)
|
40
40
|
rake (10.4.2)
|
41
|
-
rspec (3.
|
42
|
-
rspec-core (~> 3.
|
43
|
-
rspec-expectations (~> 3.
|
44
|
-
rspec-mocks (~> 3.
|
45
|
-
rspec-core (3.
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-expectations (3.1
|
41
|
+
rspec (3.2.0)
|
42
|
+
rspec-core (~> 3.2.0)
|
43
|
+
rspec-expectations (~> 3.2.0)
|
44
|
+
rspec-mocks (~> 3.2.0)
|
45
|
+
rspec-core (3.2.3)
|
46
|
+
rspec-support (~> 3.2.0)
|
47
|
+
rspec-expectations (3.2.1)
|
48
48
|
diff-lcs (>= 1.2.0, < 2.0)
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-mocks (3.1
|
51
|
-
|
52
|
-
|
49
|
+
rspec-support (~> 3.2.0)
|
50
|
+
rspec-mocks (3.2.1)
|
51
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
+
rspec-support (~> 3.2.0)
|
53
|
+
rspec-support (3.2.2)
|
53
54
|
security (0.1.3)
|
54
55
|
term-ansicolor (1.0.7)
|
55
56
|
unf (0.1.4)
|
data/README.md
CHANGED
@@ -1,182 +1,65 @@
|
|
1
|
-
![
|
1
|
+
# download-profiles [![Gem Version](https://badge.fury.io/rb/download-profiles.svg)](http://badge.fury.io/rb/download-profiles)
|
2
2
|
|
3
|
-
|
3
|
+
A simple CLI tool for downloading iOS and Mac provisioning profiles and installing them in the system.
|
4
4
|
|
5
|
-
|
6
|
-
> It's part of a series of world-class command-line utilities for iOS development, which includes [Shenzhen](https://github.com/mattt/shenzhen) (Building & Distribution), [Houston](https://github.com/mattt/houston) (Push Notifications), [Venice](https://github.com/mattt/venice) (In-App Purchase Receipt Verification), [Dubai](https://github.com/mattt/dubai) (Passbook pass generation), and [Nashville](https://github.com/nomad/nashville) (iTunes Store API).
|
5
|
+
(Based on [Cupertino](https://github.com/nomad/cupertino))
|
7
6
|
|
8
7
|
## Requirements
|
9
8
|
|
10
|
-
|
9
|
+
download-profiles requires the [Xcode Command Line Tools](https://developer.apple.com/xcode/), which can be installed with the following command:
|
11
10
|
|
12
11
|
```
|
13
|
-
|
12
|
+
xcode-select --install
|
14
13
|
```
|
15
14
|
|
16
|
-
##
|
15
|
+
## Setup
|
17
16
|
|
18
|
-
|
19
|
-
$ gem install cupertino
|
20
|
-
```
|
21
|
-
|
22
|
-
## Usage
|
23
|
-
|
24
|
-
### Authentication
|
25
|
-
|
26
|
-
```
|
27
|
-
$ ios login
|
28
|
-
```
|
29
|
-
|
30
|
-
_Credentials are saved in the Keychain. You will not be prompted for your username or password by commands while you are logged in. (Mac only)_
|
31
|
-
|
32
|
-
### Devices
|
33
|
-
|
34
|
-
```
|
35
|
-
$ ios devices:list
|
36
|
-
|
37
|
-
+------------------------------+---------------------------------------+
|
38
|
-
| Listing 2 devices. You can register 98 additional devices. |
|
39
|
-
+---------------------------+------------------------------------------+
|
40
|
-
| Device Name | Device Identifier |
|
41
|
-
+---------------------------+------------------------------------------+
|
42
|
-
| Johnny Appleseed iPad | 0123456789012345678901234567890123abcdef |
|
43
|
-
| Johnny Appleseed iPhone | abcdef0123456789012345678901234567890123 |
|
44
|
-
+---------------------------+------------------------------------------+
|
45
|
-
|
46
|
-
$ ios devices:add "iPad 1"=abc123
|
47
|
-
$ ios devices:add "iPad 2"=def456 "iPad 3"=ghi789 ...
|
48
|
-
```
|
49
|
-
|
50
|
-
### Provisioning Profiles
|
51
|
-
|
52
|
-
```
|
53
|
-
$ ios profiles:list
|
54
|
-
|
55
|
-
+----------------------------------+--------------+---------+
|
56
|
-
| Profile | App ID | Status |
|
57
|
-
+----------------------------------+--------------+---------+
|
58
|
-
| iOS Team Provisioning Profile: * | ABCDEFG123.* | Valid |
|
59
|
-
+----------------------------------+--------------+---------+
|
60
|
-
```
|
61
|
-
|
62
|
-
---
|
63
|
-
|
64
|
-
```
|
65
|
-
$ ios profiles:manage:devices
|
66
|
-
```
|
67
|
-
|
68
|
-
_Opens an editor with a list of devices, each of which can be commented / uncommented to turn them off / on for that provisioning profile._
|
69
|
-
|
70
|
-
```
|
71
|
-
# Comment / Uncomment Devices to Turn Off / On for Provisioning Profile
|
72
|
-
Johnny Appleseed iPad 0123456789012345678901234567890123abcdef
|
73
|
-
# Johnny Appleseed iPhone abcdef0123456789012345678901234567890123
|
74
|
-
```
|
17
|
+
To install:
|
75
18
|
|
76
19
|
```
|
77
|
-
|
20
|
+
gem install download-profiles
|
78
21
|
```
|
79
22
|
|
80
|
-
|
23
|
+
Before downloading profiles, you need to authenticate to Apple Developer Portal (you can also pass your login and password as parameters, but that's less convenient):
|
81
24
|
|
82
25
|
```
|
83
|
-
|
26
|
+
download-profiles login
|
84
27
|
```
|
85
28
|
|
86
|
-
|
29
|
+
_Credentials are saved in the Keychain. You will not be prompted for your username or password by commands while you are logged in. (Mac only)_
|
87
30
|
|
88
|
-
|
31
|
+
## Usage
|
89
32
|
|
90
33
|
```
|
91
|
-
|
92
|
-
|
93
|
-
+--------------------------+------------------------------------------+--------+
|
94
|
-
| Listing devices for provisioning profile MyApp_Development_Profile |
|
95
|
-
+--------------------------+------------------------------------------+--------+
|
96
|
-
| Device Name | Device Identifier | Active |
|
97
|
-
+--------------------------+------------------------------------------+--------+
|
98
|
-
| Person's iPhone 5 | 888888883e48a3e0458aab2691d565a8a63f7888 | Y |
|
99
|
-
+--------------------------+------------------------------------------+--------+
|
100
|
-
|
34
|
+
download-profiles
|
101
35
|
```
|
102
36
|
|
103
|
-
|
104
|
-
|
105
|
-
```
|
106
|
-
$ ios app_ids:list
|
107
|
-
|
108
|
-
+-----------------------------+------------------------+-------------------+-------------------+
|
109
|
-
| Bundle Seed ID | Description | Development | Distribution |
|
110
|
-
+-----------------------------+------------------------+-------------------+-------------------+
|
111
|
-
| 123ABCDEFG.com.mattt.bundle | App Bundle Description | Passes | Passes |
|
112
|
-
| | | Data Protection | Data Protection |
|
113
|
-
| | | iCloud | iCloud |
|
114
|
-
| | | In-App Purchase | In-App Purchase |
|
115
|
-
| | | Game Center | Game Center |
|
116
|
-
| | | Push Notification | Push Notification |
|
117
|
-
+-----------------------------+------------------------+-------------------+-------------------+
|
118
|
-
```
|
37
|
+
Downloads and installs all valid provisioning profiles.
|
119
38
|
|
120
39
|
```
|
121
|
-
|
122
|
-
```
|
123
|
-
|
124
|
-
### Certificates
|
125
|
-
|
40
|
+
download-profiles --platform mac
|
126
41
|
```
|
127
|
-
$ ios certificates:list
|
128
42
|
|
129
|
-
|
130
|
-
| Name | Provisioning Profiles | Expiration Date | Status |
|
131
|
-
+------------------+----------------------------------+-----------------+--------+
|
132
|
-
| Johnny Appleseed | iOS Team Provisioning Profile: * | Dec 23, 2012 | Issued |
|
133
|
-
+------------------+----------------------------------+-----------------+--------+
|
134
|
-
```
|
43
|
+
Installs all Mac profiles
|
135
44
|
|
136
45
|
```
|
137
|
-
|
138
|
-
$ ios certificates:download --type distribution
|
139
|
-
$ ios certificates:download NAME
|
46
|
+
download-profiles --platform ios --type distribution
|
140
47
|
```
|
141
48
|
|
142
|
-
|
143
|
-
|
144
|
-
The following commands will format their output as [comma-separated values](http://en.wikipedia.org/wiki/Comma-separated_values) when the `--format csv` argument is passed:
|
49
|
+
Installs all iOS distribution (AdHoc) profiles.
|
145
50
|
|
146
|
-
- `
|
147
|
-
- `devices:list`
|
148
|
-
- `profiles:list`
|
149
|
-
- `profiles:manage:devices:list`
|
150
|
-
|
151
|
-
## Commands
|
152
|
-
|
153
|
-
- `login`
|
154
|
-
- `logout`
|
155
|
-
- `devices:add`
|
156
|
-
- `devices:list`
|
157
|
-
- `profiles:list`
|
158
|
-
- `profiles:manage:devices`
|
159
|
-
- `profiles:manage:devices:add`
|
160
|
-
- `profiles:manage:devices:remove`
|
161
|
-
- `profiles:download`
|
162
|
-
- `profiles:download:all`
|
163
|
-
- `profiles:devices:list`
|
164
|
-
- `certificates:list`
|
165
|
-
- `certificates:download`
|
166
|
-
- `app_ids:list`
|
167
|
-
|
168
|
-
## Proxies
|
169
|
-
|
170
|
-
Cupertino will access the provisioning portal through a proxy if the `HTTP_PROXY` environment variable is set, with optional credentials `HTTP_PROXY_USER` and `HTTP_PROXY_PASSWORD`.
|
51
|
+
For more info, check out `download-profiles --help`
|
171
52
|
|
172
53
|
## Contact
|
173
54
|
|
174
|
-
|
55
|
+
Radek Pietruszewski
|
56
|
+
|
57
|
+
- http://github.com/radex
|
58
|
+
- http://twitter.com/radexp
|
59
|
+
- this.is@radex.io
|
175
60
|
|
176
|
-
|
177
|
-
- http://twitter.com/mattt
|
178
|
-
- m@mattt.me
|
61
|
+
## License and credits
|
179
62
|
|
180
|
-
|
63
|
+
download-profiles is based on [Cupertino](https://github.com/nomad/cupertino) by [Mattt Thompson](https://github.com/mattt). I merely removed everything from the code that wasn't related to provisioning profiles, added support for Mac profiles and changed the behavior so that profiles are installed (copied into user's ~/Library) instead of downloaded into the working directory.
|
181
64
|
|
182
|
-
|
65
|
+
download-profiles is available under the MIT license. See the LICENSE file for more info.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: download-profiles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattt Thompson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: commander
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
168
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.
|
169
|
+
rubygems_version: 2.4.5
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: download-profiles
|