From bebf2eb5436942c9ea0317a2dfa0ffc41195eab5 Mon Sep 17 00:00:00 2001 From: joaocolaco Date: Wed, 20 Jun 2018 22:16:33 +0100 Subject: [PATCH] Fix for Xcode 10 build error With Xcode 10 when building release app linking this framework there's an "Undefined symbols" error referencing this struct. Making this public this symbol gets exported and the error goes away. Tested for MacOS but iOS should have the same problem. --- TPInAppReceipt/Source/InAppReceiptPayload.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TPInAppReceipt/Source/InAppReceiptPayload.swift b/TPInAppReceipt/Source/InAppReceiptPayload.swift index c34a9e5..0e61b0f 100644 --- a/TPInAppReceipt/Source/InAppReceiptPayload.swift +++ b/TPInAppReceipt/Source/InAppReceiptPayload.swift @@ -8,7 +8,7 @@ import Foundation -struct InAppReceiptPayload +public struct InAppReceiptPayload { /// In-app purchase's receipts public let purchases: [InAppPurchase]