fastlane-plugin-update_provisioning_profile_specifier 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a1452d7d24e5bb3c00a111d059e5b052b7652d9
|
|
4
|
+
data.tar.gz: f6cf19d36ce937c458272fa98c1c9e792112d418
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7510f6f12a344da871710d80f8afc1af9d4bb687d99daccdc0d51982bd15fceb9f657c3d7ba8f4711e8127ce427372ccf7176dbc26deb7655001b060cf30f18
|
|
7
|
+
data.tar.gz: ffe5c622fa89f5241572a2279e8d31ea9e2a52ab9a1c3d3a4fa928a34943d055c6b3ce7b3bea2b6f96c22339bc4295242f67149c1b8176cec6d2032a605cbfaf
|
data/README.md
CHANGED
|
@@ -14,7 +14,7 @@ fastlane add_plugin update_provisioning_profile_specifier
|
|
|
14
14
|
|
|
15
15
|
Update the provisioning profile in the Xcode Project file for a specified target
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Xcode 8 added a PROVISIONING_PROFILE_SPECIFIER build setting that is (apparently) required at build-time (even with Automatic Codesigning disabled). I have several branded versions of the apps that I work on and most of the changes are scripted to be done during the build phase (change the app ID, provisioning profile, team, etc.). With previous versions of Xcode, I was able to sign the apps with whatever provisioning profile I wanted, but with Xcode 8 that doesn't work anymore. This plugin allows you to change the PROVISIONING_PROFILE_SPECIFIER in your Xcode project so that you can continue to script changes to be made a build time and use whatever provisioning profile you like without having to maintain separate targets with separate provisioning profile specifiers.
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
@@ -26,8 +26,10 @@ module Fastlane
|
|
|
26
26
|
t.build_configuration_list.build_configurations.each do |config|
|
|
27
27
|
if (params[:append])
|
|
28
28
|
cur = config.build_settings[specifier_key]
|
|
29
|
+
config.build_settings[specifier_key] = cur + params[:new_specifier]
|
|
30
|
+
else
|
|
31
|
+
config.build_settings[specifier_key] = params[:new_specifier]
|
|
29
32
|
end
|
|
30
|
-
config.build_settings[specifier_key] = cur + params[:new_specifier]
|
|
31
33
|
end
|
|
32
34
|
end
|
|
33
35
|
project.save
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-update_provisioning_profile_specifier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jordan Bondo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|