Skip to content

Commit

Permalink
Fixed signing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtweedy committed Apr 23, 2018
1 parent 115cacf commit 1ea68bd
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 43 deletions.
2 changes: 1 addition & 1 deletion Moltin.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Moltin"
s.version = "3.0.4"
s.version = "3.0.5"
s.summary = "eCommerce made simple"

s.description = <<-DESC
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ iOS/macOS/tvOS/watchOS SDK for the [Moltin](https://moltin.com) platform, writte

Add the following to your `Podfile`:
```
pod 'Moltin', '~> 3.0.4'
pod 'Moltin', '~> 3.0.5'
```

Or, quickly try out our examples:
Expand All @@ -31,14 +31,14 @@ pod try Moltin

Add the following to your `Cartfile`:
```
github "Moltin/ios-sdk" ~> 3.0.4
github "Moltin/ios-sdk" ~> 3.0.5
```
## Swift Package Manager

Add the following to your `dependencies` value in `Package.swift`:
```swift
dependencies: [
.package(url: "https://github.com/moltin/ios-sdk.git", from: "3.0.4")
.package(url: "https://github.com/moltin/ios-sdk.git", from: "3.0.5")
]
```

Expand Down
2 changes: 1 addition & 1 deletion Sources/SDK/Utils/HTTP.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class MoltinHTTP {
mutableRequest.addValue("application/json", forHTTPHeaderField: "Content-Type")

mutableRequest.addValue("swift", forHTTPHeaderField: "X-MOLTIN-SDK-LANGUAGE")
mutableRequest.addValue("3.0.4", forHTTPHeaderField: "X-MOLTIN-SDK-VERSION")
mutableRequest.addValue("3.0.5", forHTTPHeaderField: "X-MOLTIN-SDK-VERSION")

if let config = config {
mutableRequest.addValue(config.locale.identifier, forHTTPHeaderField: "X-MOLTIN-LOCALE")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ <h1 id='installation' class='heading'>Installation</h1>
<h2 id='cocoapods' class='heading'>Cocoapods</h2>

<p>Add the following to your <code>Podfile</code>:</p>
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.4'
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.5'
</code></pre>

<p>Or, quickly try out our examples:</p>
Expand All @@ -367,13 +367,13 @@ <h2 id='cocoapods' class='heading'>Cocoapods</h2>
<h2 id='carthage' class='heading'>Carthage</h2>

<p>Add the following to your <code>Cartfile</code>:</p>
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.4
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.5
</code></pre>
<h2 id='swift-package-manager' class='heading'>Swift Package Manager</h2>

<p>Add the following to your <code>dependencies</code> value in <code>Package.swift</code>:</p>
<pre class="highlight swift"><code><span class="nv">dependencies</span><span class="p">:</span> <span class="p">[</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.4"</span><span class="p">)</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.5"</span><span class="p">)</span>
<span class="p">]</span>
</code></pre>
<h1 id='usage' class='heading'>Usage</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h1 id='installation' class='heading'>Installation</h1>
<h2 id='cocoapods' class='heading'>Cocoapods</h2>

<p>Add the following to your <code>Podfile</code>:</p>
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.4'
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.5'
</code></pre>

<p>Or, quickly try out our examples:</p>
Expand All @@ -352,13 +352,13 @@ <h2 id='cocoapods' class='heading'>Cocoapods</h2>
<h2 id='carthage' class='heading'>Carthage</h2>

<p>Add the following to your <code>Cartfile</code>:</p>
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.4
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.5
</code></pre>
<h2 id='swift-package-manager' class='heading'>Swift Package Manager</h2>

<p>Add the following to your <code>dependencies</code> value in <code>Package.swift</code>:</p>
<pre class="highlight swift"><code><span class="nv">dependencies</span><span class="p">:</span> <span class="p">[</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.4"</span><span class="p">)</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.5"</span><span class="p">)</span>
<span class="p">]</span>
</code></pre>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Add the following to your `Podfile`:
```
pod 'Moltin', '~> 3.0.4'
pod 'Moltin', '~> 3.0.5'
```

Or, quickly try out our examples:
Expand All @@ -15,13 +15,13 @@ pod try Moltin

Add the following to your `Cartfile`:
```
github "Moltin/ios-sdk" ~> 3.0.4
github "Moltin/ios-sdk" ~> 3.0.5
```
## Swift Package Manager

Add the following to your `dependencies` value in `Package.swift`:
```swift
dependencies: [
.package(url: "https://github.com/moltin/ios-sdk.git", from: "3.0.4")
.package(url: "https://github.com/moltin/ios-sdk.git", from: "3.0.5")
]
```
Binary file modified docs/docsets/moltin.tgz
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ <h1 id='installation' class='heading'>Installation</h1>
<h2 id='cocoapods' class='heading'>Cocoapods</h2>

<p>Add the following to your <code>Podfile</code>:</p>
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.4'
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.5'
</code></pre>

<p>Or, quickly try out our examples:</p>
Expand All @@ -367,13 +367,13 @@ <h2 id='cocoapods' class='heading'>Cocoapods</h2>
<h2 id='carthage' class='heading'>Carthage</h2>

<p>Add the following to your <code>Cartfile</code>:</p>
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.4
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.5
</code></pre>
<h2 id='swift-package-manager' class='heading'>Swift Package Manager</h2>

<p>Add the following to your <code>dependencies</code> value in <code>Package.swift</code>:</p>
<pre class="highlight swift"><code><span class="nv">dependencies</span><span class="p">:</span> <span class="p">[</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.4"</span><span class="p">)</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.5"</span><span class="p">)</span>
<span class="p">]</span>
</code></pre>
<h1 id='usage' class='heading'>Usage</h1>
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h1 id='installation' class='heading'>Installation</h1>
<h2 id='cocoapods' class='heading'>Cocoapods</h2>

<p>Add the following to your <code>Podfile</code>:</p>
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.4'
<pre class="highlight plaintext"><code>pod 'Moltin', '~&gt; 3.0.5'
</code></pre>

<p>Or, quickly try out our examples:</p>
Expand All @@ -352,13 +352,13 @@ <h2 id='cocoapods' class='heading'>Cocoapods</h2>
<h2 id='carthage' class='heading'>Carthage</h2>

<p>Add the following to your <code>Cartfile</code>:</p>
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.4
<pre class="highlight plaintext"><code>github "Moltin/ios-sdk" ~&gt; 3.0.5
</code></pre>
<h2 id='swift-package-manager' class='heading'>Swift Package Manager</h2>

<p>Add the following to your <code>dependencies</code> value in <code>Package.swift</code>:</p>
<pre class="highlight swift"><code><span class="nv">dependencies</span><span class="p">:</span> <span class="p">[</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.4"</span><span class="p">)</span>
<span class="o">.</span><span class="nf">package</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="s">"https://github.com/moltin/ios-sdk.git"</span><span class="p">,</span> <span class="nv">from</span><span class="p">:</span> <span class="s">"3.0.5"</span><span class="p">)</span>
<span class="p">]</span>
</code></pre>

Expand Down
54 changes: 31 additions & 23 deletions moltin.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -938,22 +938,22 @@
C392E9C4203DB630006CD1D0 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 0930;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
C392E9D1203DB641006CD1D0 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 0930;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
C392E9DE203DB64E006CD1D0 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 0930;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
C392E9EB203DB65B006CD1D0 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 0930;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
C392EA11203DB7EB006CD1D0 = {
CreatedOnToolsVersion = 9.3;
Expand Down Expand Up @@ -1620,12 +1620,12 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -1653,6 +1653,7 @@
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-iOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
Expand Down Expand Up @@ -1698,12 +1699,12 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1724,6 +1725,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-iOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down Expand Up @@ -1769,13 +1771,13 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1802,6 +1804,7 @@
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-watchOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
Expand Down Expand Up @@ -1848,12 +1851,12 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1873,6 +1876,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-watchOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down Expand Up @@ -1919,13 +1923,13 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1952,6 +1956,7 @@
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-tvOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
Expand Down Expand Up @@ -1998,12 +2003,12 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -2023,6 +2028,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-tvOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down Expand Up @@ -2069,13 +2075,13 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -2104,6 +2110,7 @@
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-macOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
Expand Down Expand Up @@ -2147,14 +2154,14 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 6NTG7K23S9;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -2176,6 +2183,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.moltin.moltin-macOS";
PRODUCT_NAME = moltin;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down

0 comments on commit 1ea68bd

Please sign in to comment.