fastlane-plugin-cosigner 1.0.1 β 1.0.2
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: 82b8b68894860b8bd2f4c7905e6dbcee6d4ecf94
|
4
|
+
data.tar.gz: d471f33cc4a2d9673434b4ec629477f08422f18b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
7
|
+
project = Xcodeproj::Project.open(params[:xcodeproj_path])
|
8
8
|
|
9
|
-
target = project.targets.select{ |target| target.name ==
|
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[
|
11
|
+
build_settings = target.build_configuration_list[params[:build_configuration]].build_settings
|
12
12
|
|
13
|
-
UI.message "Updating Xcode project's ProvisioningStyle to \"#{
|
14
|
-
project_atributes['TargetAttributes'][target.uuid]['ProvisioningStyle'] =
|
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 \"#{
|
17
|
-
build_settings['CODE_SIGN_IDENTITY'] =
|
18
|
-
build_settings['CODE_SIGN_IDENTITY[sdk=iphoneos*]'] =
|
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 \"#{
|
21
|
-
build_settings['PROVISIONING_PROFILE_SPECIFIER'] =
|
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
|
26
|
-
UI.message "Updating Xcode project's PROVISIONING_PROFILE to \"#{
|
27
|
-
build_settings['PROVISIONING_PROFILE'] =
|
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 \"#{
|
31
|
-
build_settings['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
|
34
|
-
UI.message "Updatind Xcode project's Bundle identifier \"#{
|
35
|
-
build_settings['PRODUCT_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
|