From 1975c55e3e5a4964b531bf0c0a075594732a0dd9 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Wed, 27 Sep 2023 21:05:10 -0500 Subject: [PATCH] fix: Mac build Undefined symbol: OBJC_CLASS$_PFProductsRequestHandler install swift 5.5 Revert "fix: Mac build Undefined symbol: OBJC_CLASS$_PFProductsRequestHandler" This reverts commit d8723d2d44c9d5e423c3f7f73b788752448ddfa0. Revert "install swift 5.5" This reverts commit 23454f937fe4cd225f20209d4d591ca57f08039c. Update PFPurchaseController.m --- .../Parse/Internal/Purchase/Controller/PFPurchaseController.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Parse/Parse/Internal/Purchase/Controller/PFPurchaseController.m b/Parse/Parse/Internal/Purchase/Controller/PFPurchaseController.m index 39028ce17..45bd5fc7b 100644 --- a/Parse/Parse/Internal/Purchase/Controller/PFPurchaseController.m +++ b/Parse/Parse/Internal/Purchase/Controller/PFPurchaseController.m @@ -9,6 +9,8 @@ #import "PFPurchaseController.h" +#if TARGET_OS_IOS || TARGET_OS_TV + #import #if __has_include() @@ -237,3 +239,5 @@ - (PFPaymentTransactionObserver *)transactionObserver { } @end + +#endif