Sha256: 94bc8018a071299fb5928e0a1b8eddea278a3cbf4e07d3f8fab18131638afc68

Contents?: true

Size: 1.67 KB

Versions: 197

Compression:

Stored size: 1.67 KB

Contents

From 38ea965869a436c4b60e7dbfd5a28d42232d82d6 Mon Sep 17 00:00:00 2001
From: Fabio Milano
Date: Thu, 13 Aug 2015 16:03:26 +0200
Subject: [PATCH] Added no-strict parameter

The command line tool “codesign” has changed in 10.9.5 and 10.10, you need to
pass “--no-strict” option to the command, (the problem has been reported and
will be fixed). To workaround the problem, please save a copy and modify
PackageApplication to pass “—no-strict” to codesign, you can locate PackageApplication
by running the following:- xcrun -sdk iphoneos -f PackageApplication

See https://stackoverflow.com/questions/26008449/xcodebuild-codesign-vvvv-saysresource-envelope-is-obsolete

---
 PackageApplication4Gym | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PackageApplication4Gym b/PackageApplication4Gym
index 3085608..54a4b9e 100755
--- a/PackageApplication4Gym
+++ b/PackageApplication4Gym
@@ -92,7 +92,7 @@ foreach $plugin (@plugins) {
     chomp $pluginName;
     my $destPlugin = "$destAppDir/$pluginName";
     
-    my $result = runCmd("/usr/bin/codesign", "--verify", "-vvvv", , $plugin );
+    my $result = runCmd("/usr/bin/codesign", "--verify", "--no-strict", "-vvvv", , $plugin );
     if ( $result !~ /valid on disk/ ) {
         fatal("Codesign check fails : $result\n");
     }
@@ -111,7 +111,7 @@ if ( $opt{symbols} ) {
 
 if ( $opt{verbose} ) {
     print "### Checking original app\n";
-    my $result = runCmd("/usr/bin/codesign", "--verify", "-vvvv", , $origApp );
+    my $result = runCmd("/usr/bin/codesign", "--verify", "--no-strict", "-vvvv", , $origApp );
     if ( $result !~ /valid on disk/ ) {
         print "Codesign check fails : $result\n";
     }
-- 
2.2.1

Version data entries

197 entries across 197 versions & 1 rubygems

Version Path
fastlane-2.39.0.beta.20170614010012 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.39.0.beta.20170613010056 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.1 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170612010035 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170611010050 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170610010032 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170609010035 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170608010030 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170607010024 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.38.0.beta.20170606010029 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.37.0 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.37.0.beta.20170605010054 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.37.0.beta.20170604010021 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.37.0.beta.20170603010102 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.37.0.beta.20170602010027 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.37.0.beta.20170601010043 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.36.0 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.36.0.beta.20170531010050 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff
fastlane-2.36.0.beta.20170530010040 gym/lib/assets/package_application_patches/0002_no_strict_parameter_patch.diff