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: 092e4a5ee0449c61a74c1d7b4e7033d8ded05da8
4
- data.tar.gz: c455851dc9a63f5952ad95328cc49f8d4c8d2f4e
3
+ metadata.gz: 9a1452d7d24e5bb3c00a111d059e5b052b7652d9
4
+ data.tar.gz: f6cf19d36ce937c458272fa98c1c9e792112d418
5
5
  SHA512:
6
- metadata.gz: 89392793281c0e39362665fe11f2ad553f21cf7dc8297e5daa04c0a790fe9c73b7cf97cbe102c3276443be39acc8d7a3e2f954b30fb0d7bc0f1fd5bddca0059b
7
- data.tar.gz: 9d04cdb6ba2b766aad62186d424dc19a65d5526b4dadbf1481be9174258fcae59d78289b25b2145573aae87123f2309fedbbdab3bb0ee7a96b4967bb71059df2
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
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UpdateProvisioningProfileSpecifier
3
- VERSION = "1.0.1"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
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.1
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-09-26 00:00:00.000000000 Z
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry