<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[138936] branches/gsoc15-pallet</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/138936">138936</a></dd>
<dt>Author</dt> <dd>ksammons@macports.org</dd>
<dt>Date</dt> <dd>2015-07-23 14:12:16 -0700 (Thu, 23 Jul 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Pallet branch: FINALLY got the selfsigned certification generation script finished.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchesgsoc15palletMacPorts_FrameworkMacPortsFrameworkxcodeprojprojectpbxproj">branches/gsoc15-pallet/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj</a></li>
<li><a href="#branchesgsoc15palletPalletPalletxcodeprojprojectpbxproj">branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.pbxproj</a></li>
<li><a href="#branchesgsoc15palletPalletPalletxcodeprojprojectxcworkspacexcuserdatamrappleseedxcuserdatadUserInterfaceStatexcuserstate">branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate</a></li>
<li><a href="#branchesgsoc15palletgen_certsh">branches/gsoc15-pallet/gen_cert.sh</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchesgsoc15palletMacPorts_FrameworkMacPortsFrameworkxcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj (138935 => 138936)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj        2015-07-23 20:49:56 UTC (rev 138935)
+++ branches/gsoc15-pallet/MacPorts_Framework/MacPorts.Framework.xcodeproj/project.pbxproj        2015-07-23 21:12:16 UTC (rev 138936)
</span><span class="lines">@@ -959,7 +959,7 @@
</span><span class="cx">                 1DEB91AE08733DA50010E9CD /* Debug */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 DYLIB_COMPATIBILITY_VERSION = 1;
</span><span class="lines">@@ -997,7 +997,7 @@
</span><span class="cx">                 1DEB91AF08733DA50010E9CD /* Release */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 DYLIB_COMPATIBILITY_VERSION = 1;
</span><span class="cx">                                 DYLIB_CURRENT_VERSION = 1.2;
</span><span class="lines">@@ -1031,7 +1031,7 @@
</span><span class="cx">                 1DEB91B208733DA50010E9CD /* Debug */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 DEBUG_INFORMATION_FORMAT = stabs;
</span><span class="cx">                                 GCC_ENABLE_OBJC_GC = unsupported;
</span><span class="cx">                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
</span><span class="lines">@@ -1047,7 +1047,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 GCC_ENABLE_OBJC_GC = unsupported;
</span><span class="cx">                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
</span><span class="cx">                                 GCC_WARN_UNUSED_VARIABLE = YES;
</span><span class="lines">@@ -1060,7 +1060,7 @@
</span><span class="cx">                 216010B01094C7FC00EE9CD0 /* Release-Tiger */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 GCC_ENABLE_OBJC_GC = unsupported;
</span><span class="cx">                                 GCC_VERSION = 4.0;
</span><span class="cx">                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
</span><span class="lines">@@ -1117,7 +1117,7 @@
</span><span class="cx">                 216010B31094C7FC00EE9CD0 /* Release-Tiger */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 DYLIB_COMPATIBILITY_VERSION = 1;
</span><span class="cx">                                 DYLIB_CURRENT_VERSION = 1.2;
</span><span class="lines">@@ -1189,7 +1189,7 @@
</span><span class="cx">                 216010B51094C7FC00EE9CD0 /* Release-Tiger */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
</span><span class="lines">@@ -1205,7 +1205,7 @@
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = Pallet;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
</span><span class="lines">@@ -1265,7 +1265,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 CONFIGURATION_BUILD_DIR = &quot;$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)&quot;;
</span><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="lines">@@ -1305,7 +1305,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 CONFIGURATION_BUILD_DIR = &quot;$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)&quot;;
</span><span class="cx">                                 DYLIB_COMPATIBILITY_VERSION = 1;
</span><span class="lines">@@ -1341,7 +1341,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 CONFIGURATION_BUILD_DIR = &quot;$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)&quot;;
</span><span class="cx">                                 DYLIB_COMPATIBILITY_VERSION = 1;
</span><span class="lines">@@ -1594,7 +1594,7 @@
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = Pallet;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 GCC_DYNAMIC_NO_PIC = NO;
</span><span class="cx">                                 GCC_ENABLE_FIX_AND_CONTINUE = YES;
</span><span class="lines">@@ -1625,7 +1625,7 @@
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><span class="cx">                                 ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = &quot;ppc i386 ppc64 x86_64&quot;;
</span><del>-                                CODE_SIGN_IDENTITY = Pallet;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
</span><span class="lines">@@ -1654,7 +1654,7 @@
</span><span class="cx">                 DFE353660CFB8F0C003BACFC /* Debug */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 GCC_DYNAMIC_NO_PIC = NO;
</span><span class="cx">                                 GCC_ENABLE_OBJC_GC = unsupported;
</span><span class="lines">@@ -1666,7 +1666,7 @@
</span><span class="cx">                 DFE353670CFB8F0C003BACFC /* Release */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
</span></span></pre></div>
<a id="branchesgsoc15palletPalletPalletxcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.pbxproj (138935 => 138936)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.pbxproj        2015-07-23 20:49:56 UTC (rev 138935)
+++ branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.pbxproj        2015-07-23 21:12:16 UTC (rev 138936)
</span><span class="lines">@@ -807,7 +807,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><del>-                                CODE_SIGN_IDENTITY = Pallet;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 FRAMEWORK_SEARCH_PATHS = &quot;\&quot;$(SRCROOT)/../MacPorts_Framework/build\&quot;&quot;;
</span><span class="lines">@@ -830,7 +830,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><del>-                                CODE_SIGN_IDENTITY = Pallet;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 FRAMEWORK_SEARCH_PATHS = &quot;\&quot;$(SRCROOT)/../MacPorts_Framework/build\&quot;&quot;;
</span><span class="lines">@@ -853,7 +853,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><del>-                                CODE_SIGN_IDENTITY = Pallet;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 FRAMEWORK_SEARCH_PATHS = &quot;\&quot;$(SRCROOT)/../MacPorts_Framework/build\&quot;&quot;;
</span><span class="lines">@@ -872,7 +872,7 @@
</span><span class="cx">                 21FC211D0FE84F7F00B1E835 /* Debug-InstallMacPorts */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 GCC_C_LANGUAGE_STANDARD = c99;
</span><span class="cx">                                 GCC_ENABLE_OBJC_GC = required;
</span><span class="cx">                                 GCC_OPTIMIZATION_LEVEL = 0;
</span><span class="lines">@@ -888,7 +888,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 FRAMEWORK_SEARCH_PATHS = (
</span><span class="lines">@@ -933,7 +933,7 @@
</span><span class="cx">                                 CLANG_WARN_INT_CONVERSION = YES;
</span><span class="cx">                                 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
</span><span class="cx">                                 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 GCC_C_LANGUAGE_STANDARD = gnu99;
</span><span class="cx">                                 GCC_DYNAMIC_NO_PIC = NO;
</span><span class="lines">@@ -982,7 +982,7 @@
</span><span class="cx">                                 CLANG_WARN_INT_CONVERSION = YES;
</span><span class="cx">                                 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
</span><span class="cx">                                 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 GCC_C_LANGUAGE_STANDARD = gnu99;
</span><span class="cx">                                 GCC_DYNAMIC_NO_PIC = NO;
</span><span class="lines">@@ -1031,7 +1031,7 @@
</span><span class="cx">                                 CLANG_WARN_INT_CONVERSION = YES;
</span><span class="cx">                                 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
</span><span class="cx">                                 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COPY_PHASE_STRIP = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 ENABLE_NS_ASSERTIONS = NO;
</span><span class="lines">@@ -1064,7 +1064,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 COPY_PHASE_STRIP = NO;
</span><span class="cx">                                 FRAMEWORK_SEARCH_PATHS = &quot;$(inherited)&quot;;
</span><span class="lines">@@ -1094,7 +1094,7 @@
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><span class="cx">                                 ALWAYS_SEARCH_USER_PATHS = NO;
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 COMBINE_HIDPI_IMAGES = YES;
</span><span class="cx">                                 DEBUG_INFORMATION_FORMAT = &quot;dwarf-with-dsym&quot;;
</span><span class="cx">                                 FRAMEWORK_SEARCH_PATHS = (
</span><span class="lines">@@ -1128,7 +1128,7 @@
</span><span class="cx">                 C01FCF4F08A954540054247B /* Debug */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 GCC_C_LANGUAGE_STANDARD = c99;
</span><span class="cx">                                 GCC_ENABLE_OBJC_GC = required;
</span><span class="cx">                                 GCC_OPTIMIZATION_LEVEL = 0;
</span><span class="lines">@@ -1143,7 +1143,7 @@
</span><span class="cx">                 C01FCF5008A954540054247B /* Release */ = {
</span><span class="cx">                         isa = XCBuildConfiguration;
</span><span class="cx">                         buildSettings = {
</span><del>-                                CODE_SIGN_IDENTITY = &quot;Self-signed Applications&quot;;
</del><ins>+                                CODE_SIGN_IDENTITY = &quot;Pallet-Certificate&quot;;
</ins><span class="cx">                                 GCC_C_LANGUAGE_STANDARD = c99;
</span><span class="cx">                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
</span><span class="cx">                                 GCC_WARN_UNUSED_VARIABLE = YES;
</span></span></pre></div>
<a id="branchesgsoc15palletPalletPalletxcodeprojprojectxcworkspacexcuserdatamrappleseedxcuserdatadUserInterfaceStatexcuserstate"></a>
<div class="binary"><h4>Modified: branches/gsoc15-pallet/Pallet/Pallet.xcodeproj/project.xcworkspace/xcuserdata/mrappleseed.xcuserdatad/UserInterfaceState.xcuserstate</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="branchesgsoc15palletgen_certsh"></a>
<div class="modfile"><h4>Modified: branches/gsoc15-pallet/gen_cert.sh (138935 => 138936)</h4>
<pre class="diff"><span>
<span class="info">--- branches/gsoc15-pallet/gen_cert.sh        2015-07-23 20:49:56 UTC (rev 138935)
+++ branches/gsoc15-pallet/gen_cert.sh        2015-07-23 21:12:16 UTC (rev 138936)
</span><span class="lines">@@ -1,32 +1,75 @@
</span><span class="cx"> #!/bin/bash
</span><span class="cx"> 
</span><del>-read -s -p &quot;Enter root password: &quot; password
</del><ins>+# Create the cert directory (where all cert information will be stored)
</ins><span class="cx"> 
</span><del>-# Generate a new CRT certificate, and a new private key, privateKey
-openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt
</del><ins>+security find-certificate -c Pallet-Certificate &amp;&gt;/dev/null 
+retval=$?
</ins><span class="cx"> 
</span><del>-# Convert the new CRT cert to a PEM cert
-openssl x509 -in certificate.crt -out certificate.pem -outform PEM -extensions codesign
</del><ins>+if [ $retval -eq 0 ]; then
+    echo &quot;Certificate already exists.&quot;
+    exit 1
+else
+    echo &quot;Certificate doesn't exist. Beginning generation.&quot;
+    if [ ! -d ./certs/ ]; then
</ins><span class="cx"> 
</span><del>-# Convert the PEM certificate to a new P12 certificate, to import it using security
-openssl pkcs12 -export -out certificate.p12 -inkey privateKey.key -in certificate.crt -certfile certificate.pem
</del><ins>+        echo &quot;Directory, \&quot;./certs/\&quot; does not exist. Creating.&quot;
+        mkdir certs
+    else
+        echo &quot;Directory, \&quot;./certs/\&quot; already exists. Skipping creation.&quot; 
+    fi
</ins><span class="cx"> 
</span><del>-# Unlock the default keychain 
-security unlock-keychain -p $password login.keychain 
</del><ins>+    # Generate the magical configuration file.
+    if [ ! -f ./certs/apple.conf ]; then
+        
+        echo &quot;Configuration file, \&quot;./certs/apple.conf\&quot; does not exist. Creating.&quot;
</ins><span class="cx"> 
</span><del>-# Import the generated certificate to the default keychain
-security import ./certificate.p12 -k login.keychain -P test 
</del><ins>+        # THE FOLLOWING CONFIG INFORMATION IS MAGIC THAT WAS FOUND AFTER 14 HOURS ON GOOGLE. DO. NOT. TOUCH. 
+        touch ./certs/apple.conf
+        echo &quot;[ req ]
+        distinguished_name = req_name
+        prompt = no
+        [ req_name ]
+        CN = Pallet-Certificate 
+        [ extensions ]
+        basicConstraints=critical,CA:false
+        keyUsage=critical,digitalSignature
+        extendedKeyUsage=codeSigning&quot; &gt;&gt; ./certs/apple.conf
+    else
+         echo &quot;Configuration file, \&quot;./certs/apple.conf\&quot; already exists. Skipping creation.&quot;
+    fi
</ins><span class="cx"> 
</span><del>-# Make it a trusted cert
-security add-trusted-cert -d -r trustRoot -p codeSign -k login.keychain ./certificate.crt
</del><ins>+    # Generate a new private key
+    if [ ! -f ./certs/apple.key ]; then
</ins><span class="cx"> 
</span><del>-# Lock the default keychain
-security lock-keychain login.keychain
</del><ins>+        echo &quot;Private key, \&quot;./certs/apple.key\&quot; does not exist. Creating.&quot;
+        openssl genrsa -out ./certs/apple.key  2048
+    else
+        echo &quot;Private key, \&quot;./certs/apple.key\&quot; already exists. Skipping creation.&quot;
+    fi
</ins><span class="cx"> 
</span><del>-# Remove the certs in the local directory
-rm certificate.*
</del><ins>+    # Generate a new cert (packed with information from apple.conf)
+    if [ ! -f ./certs/apple.crt ]; then
</ins><span class="cx"> 
</span><del>-# Remove the private key
-rm privateKey.key
</del><ins>+        echo &quot;Certificate, \&quot;./certs/apple.crt\&quot; does not exist. Creating.&quot;
+        openssl req -x509 -new -config ./certs/apple.conf -nodes -key ./certs/apple.key -extensions extensions -sha256 -out ./certs/apple.crt
+    else
+        echo &quot;Certificate, \&quot;./certs/apple.crt\&quot; already exists. Skipping creation.&quot;
+    fi
</ins><span class="cx"> 
</span><span class="cx"> 
</span><ins>+    # Generate a new convert that cert to a P12 for importing
+    if [ ! -f ./certs/apple.p12 ]; then
+
+        echo &quot;Certificate, \&quot;./certs/apple.p12\&quot; does not exist. Creating.&quot;
+        openssl pkcs12 -export -inkey ./certs/apple.key -in ./certs/apple.crt -out ./certs/apple.p12
+    else
+        echo &quot;Certificate, \&quot;./certs/apple.p12\&quot; already exists. Skipping creation.&quot;
+    fi
+
+    # Import the the newly created P12 certificate into the login (default) keychain.
+    echo &quot;Importing the certificate into the keychain.&quot;
+    read -s -p &quot;Enter your root password: &quot; password
+    security unlock-keychain -p $password login.keychain
+    security import ./certs/apple.p12 -k login.keychain -P test
+    security lock-keychain login.keychain 
+fi
</ins></span></pre>
</div>
</div>

</body>
</html>