fastlane-plugin-cosigner 1.0.1 β†’ 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec87d43a6b409a4daff0b3e728429db4a2fa02d6
4
- data.tar.gz: e561bda6f381e6a8d64ab046eab27bf32113e98a
3
+ metadata.gz: 82b8b68894860b8bd2f4c7905e6dbcee6d4ecf94
4
+ data.tar.gz: d471f33cc4a2d9673434b4ec629477f08422f18b
5
5
  SHA512:
6
- metadata.gz: 228ae199a7066bdb62d852eba07071566cf50e8adeefcc287ed3e06c6447421c905c7daa7db2d86a83299d2ecc765bb1f4d540a4fe19123e79db41ede70c3c2f
7
- data.tar.gz: e89720a0bc0cd0b91b210a89c89bf3ee38049e22d3bdd47e9776f3634726a55b123144be39e4dbd29d86ca7733b3ab9abc0ccc2110848c0ee6347c4273686198
6
+ metadata.gz: 1ce80f99f55943bd98f9e4ca4ec850db3b08376855befb9e307fd070e20bc635d108d3071d6c8e7403c6471f4dfb2428ab2be213b649bdac786b4dc8ed8b22eb
7
+ data.tar.gz: 3665e20b0a1978f8682e42c63bbe7031906a80a9319a8de0d7cbf6e80ee475e2576a1d7425341a4a41b7d71c94d124fd98ad7c20195cc71a3f378711b71948a3
@@ -4,35 +4,35 @@ module Fastlane
4
4
  def self.run(params)
5
5
  require 'xcodeproj'
6
6
 
7
- project = Xcodeproj::Project.open(options[:xcodeproj_path])
7
+ project = Xcodeproj::Project.open(params[:xcodeproj_path])
8
8
 
9
- target = project.targets.select{ |target| target.name == options[:scheme] }.first
9
+ target = project.targets.select{ |target| target.name == params[:scheme] }.first
10
10
  project_atributes = project.root_object.attributes
11
- build_settings = target.build_configuration_list[options[:build_configuration]].build_settings
11
+ build_settings = target.build_configuration_list[params[:build_configuration]].build_settings
12
12
 
13
- UI.message "Updating Xcode project's ProvisioningStyle to \"#{options[:provisioning_style]}\" πŸ› ".green
14
- project_atributes['TargetAttributes'][target.uuid]['ProvisioningStyle'] = options[:provisioning_style]
13
+ UI.message "Updating Xcode project's ProvisioningStyle to \"#{params[:provisioning_style]}\" πŸ› ".green
14
+ project_atributes['TargetAttributes'][target.uuid]['ProvisioningStyle'] = params[:provisioning_style]
15
15
 
16
- UI.message "Updating Xcode project's CODE_SIGN_IDENTITY to \"#{options[:code_sign_identity]}\" πŸ”‘".green
17
- build_settings['CODE_SIGN_IDENTITY'] = options[:code_sign_identity]
18
- build_settings['CODE_SIGN_IDENTITY[sdk=iphoneos*]'] = options[:code_sign_identity]
16
+ UI.message "Updating Xcode project's CODE_SIGN_IDENTITY to \"#{params[:code_sign_identity]}\" πŸ”‘".green
17
+ build_settings['CODE_SIGN_IDENTITY'] = params[:code_sign_identity]
18
+ build_settings['CODE_SIGN_IDENTITY[sdk=iphoneos*]'] = params[:code_sign_identity]
19
19
 
20
- UI.message "Updating Xcode project's PROVISIONING_PROFILE_SPECIFIER to \"#{options[:profile_name]}\" πŸ”§".green
21
- build_settings['PROVISIONING_PROFILE_SPECIFIER'] = options[:profile_name]
20
+ UI.message "Updating Xcode project's PROVISIONING_PROFILE_SPECIFIER to \"#{params[:profile_name]}\" πŸ”§".green
21
+ build_settings['PROVISIONING_PROFILE_SPECIFIER'] = params[:profile_name]
22
22
 
23
23
  # This item is set as optional in the configuration values
24
24
  # Since Xcode 8, this is no longer needed, you use PROVISIONING_PROFILE_SPECIFIER
25
- if options[:profile_uuid]
26
- UI.message "Updating Xcode project's PROVISIONING_PROFILE to \"#{options[:profile_uuid]}\" πŸ”§".green
27
- build_settings['PROVISIONING_PROFILE'] = options[:profile_uuid]
25
+ if params[:profile_uuid]
26
+ UI.message "Updating Xcode project's PROVISIONING_PROFILE to \"#{params[:profile_uuid]}\" πŸ”§".green
27
+ build_settings['PROVISIONING_PROFILE'] = params[:profile_uuid]
28
28
  end
29
29
 
30
- UI.message "Updating Xcode project's DEVELOPMENT_TEAM to \"#{options[:development_team]}\" πŸ‘―".green
31
- build_settings['DEVELOPMENT_TEAM'] = options[:development_team]
30
+ UI.message "Updating Xcode project's DEVELOPMENT_TEAM to \"#{params[:development_team]}\" πŸ‘―".green
31
+ build_settings['DEVELOPMENT_TEAM'] = params[:development_team]
32
32
 
33
- if options[:bundle_identifier]
34
- UI.message "Updatind Xcode project's Bundle identifier \"#{options[:bundle_identifier]}\" πŸ€—".green
35
- build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = options[:bundle_identifier]
33
+ if params[:bundle_identifier]
34
+ UI.message "Updatind Xcode project's Bundle identifier \"#{params[:bundle_identifier]}\" πŸ€—".green
35
+ build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = params[:bundle_identifier]
36
36
  end
37
37
 
38
38
  project.save
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Cosigner
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-cosigner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndrΓ© Pacheco Neves, LuΓ­s Portela Afonso