From 1a0a91826a8a63c5331fc74fdbc12335914c83d9 Mon Sep 17 00:00:00 2001 From: Matteo Longeri Date: Mon, 18 Mar 2024 11:36:28 +0100 Subject: [PATCH] Update Facebook SDK dependency to version 16.x + Remove ParseFacebookUtilsTvOS since with Facebook SDK version 16.x support for FacebookTV has been dropped --- Package.resolved | 4 +- Package.swift | 15 +- ParseFacebookUtilsTvOs/.gitignore | 1 - .../ParseFacebookUtilsTvOS-Dynamic.xcconfig | 16 - .../ParseFacebookUtilsTvOS.xcconfig | 16 - ParseFacebookUtilsTvOs/Configurations/Shared | 1 - .../project.pbxproj | 524 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../ParseFacebookUtilsTvOS-Dynamic.xcscheme | 67 --- .../xcschemes/ParseFacebookUtilsTvOS.xcscheme | 67 --- .../PFFacebookDeviceAuthenticationProvider.h | 16 - .../PFFacebookDeviceAuthenticationProvider.m | 96 ---- .../Resources/Info-tvOS.plist | 22 - .../Resources/Localizable.strings | 0 .../Source/PFFacebookUtilsDevice.h | 27 - .../Source/PFFacebookUtilsDevice.m | 48 -- .../Source/ParseFacebookUtilsTvOS.h | 9 - 18 files changed, 3 insertions(+), 941 deletions(-) delete mode 100644 ParseFacebookUtilsTvOs/.gitignore delete mode 100644 ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS-Dynamic.xcconfig delete mode 100644 ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS.xcconfig delete mode 120000 ParseFacebookUtilsTvOs/Configurations/Shared delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS-Dynamic.xcscheme delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS.xcscheme delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.h delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.m delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Info-tvOS.plist delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Localizable.strings delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.h delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.m delete mode 100644 ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/ParseFacebookUtilsTvOS.h diff --git a/Package.resolved b/Package.resolved index 37b0ec50a..de38280fd 100644 --- a/Package.resolved +++ b/Package.resolved @@ -24,8 +24,8 @@ "repositoryURL": "https://github.com/facebook/facebook-ios-sdk", "state": { "branch": null, - "revision": "7fd8a930a5b2c940a22efafe0e214ed0df671312", - "version": "15.1.0" + "revision": "3fe31c168903759de1c5752d12856c5c437c6862", + "version": "16.3.1" } }, { diff --git a/Package.swift b/Package.swift index 46b62226e..ef9105022 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,6 @@ let package = Package( .library(name: "ParseObjC", targets: ["ParseCore"]), .library(name: "ParseFacebookUtils", targets: ["ParseFacebookUtils"]), .library(name: "ParseFacebookUtilsiOS", targets: ["ParseFacebookUtilsiOS"]), - .library(name: "ParseFacebookUtilsTvOS", targets: ["ParseFacebookUtilsTvOS"]), .library(name: "ParseTwitterUtils", targets: ["ParseTwitterUtils"]), .library(name: "ParseUI", targets: ["ParseUI"]), .library(name: "ParseLiveQuery", targets: ["ParseLiveQuery"]) @@ -24,7 +23,7 @@ let package = Package( .package(url: "https://github.com/parse-community/Bolts-ObjC.git", from: "1.10.0"), .package(url: "https://github.com/BoltsFramework/Bolts-Swift.git", from: "1.5.0"), .package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.6"), - .package(url: "https://github.com/facebook/facebook-ios-sdk.git", from: "15.1.0"), + .package(url: "https://github.com/facebook/facebook-ios-sdk.git", from: "16.3.1"), .package(name: "OCMock", url: "https://github.com/erikdoe/ocmock.git", .revision("67bb9602f0a7541f24dc2d6d0d7389ca3e4c2c89")) ], targets: [ @@ -60,18 +59,6 @@ let package = Package( publicHeadersPath: "Source", cSettings: [.headerSearchPath("Internal/**")] ), - .target( - name: "ParseFacebookUtilsTvOS", - dependencies: [ - "ParseFacebookUtils", - .product(name: "FacebookTV", package: "facebook-ios-sdk", condition: .when(platforms: [.tvOS])) - ], - path: "ParseFacebookUtilsTvOS/ParseFacebookUtilsTvOS", - exclude: ["Resources/Info-tvOS.plist"], - resources: [.process("Resources")], - publicHeadersPath: "Source", - cSettings: [.headerSearchPath("Internal/**")] - ), .target( name: "ParseTwitterUtils", dependencies: [ diff --git a/ParseFacebookUtilsTvOs/.gitignore b/ParseFacebookUtilsTvOs/.gitignore deleted file mode 100644 index f4096fee4..000000000 --- a/ParseFacebookUtilsTvOs/.gitignore +++ /dev/null @@ -1 +0,0 @@ -Package.resolved diff --git a/ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS-Dynamic.xcconfig b/ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS-Dynamic.xcconfig deleted file mode 100644 index f5c6c1334..000000000 --- a/ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS-Dynamic.xcconfig +++ /dev/null @@ -1,16 +0,0 @@ -// -// Copyright (c) 2015-present, Parse, LLC. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -#include "Shared/Platform/tvOS.xcconfig" -#include "Shared/Product/DynamicFramework.xcconfig" - -PRODUCT_NAME = ParseFacebookUtilsTvOS -PRODUCT_BUNDLE_IDENTIFIER = com.parse.facebookutilstvos - -INFOPLIST_FILE = $(SRCROOT)/ParseFacebookUtilsTvOS/Resources/Info-tvOS.plist diff --git a/ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS.xcconfig b/ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS.xcconfig deleted file mode 100644 index 0ca6f91f0..000000000 --- a/ParseFacebookUtilsTvOs/Configurations/ParseFacebookUtilsTvOS.xcconfig +++ /dev/null @@ -1,16 +0,0 @@ -// -// Copyright (c) 2015-present, Parse, LLC. -// All rights reserved. -// -// This source code is licensed under the BSD-style license found in the -// LICENSE file in the root directory of this source tree. An additional grant -// of patent rights can be found in the PATENTS file in the same directory. -// - -#include "Shared/Platform/tvOS.xcconfig" -#include "Shared/Product/StaticFramework.xcconfig" - -PRODUCT_NAME = ParseFacebookUtilsTvOS -PRODUCT_BUNDLE_IDENTIFIER = com.parse.facebookutilstvos - -INFOPLIST_FILE = $(SRCROOT)/ParseFacebookUtilsTvOS/Resources/Info-tvOS.plist diff --git a/ParseFacebookUtilsTvOs/Configurations/Shared b/ParseFacebookUtilsTvOs/Configurations/Shared deleted file mode 120000 index 657caabf0..000000000 --- a/ParseFacebookUtilsTvOs/Configurations/Shared +++ /dev/null @@ -1 +0,0 @@ -../../Vendor/xctoolchain/Configurations \ No newline at end of file diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj deleted file mode 100644 index 0ef4ee9ac..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.pbxproj +++ /dev/null @@ -1,524 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 39E248DC2AD1C4120014357C /* ParseFacebookUtils in Frameworks */ = {isa = PBXBuildFile; productRef = 39E248DB2AD1C4120014357C /* ParseFacebookUtils */; }; - 39E248DE2AD1C43A0014357C /* ParseObjC in Frameworks */ = {isa = PBXBuildFile; productRef = 39E248DD2AD1C43A0014357C /* ParseObjC */; }; - 39E248E02AD1C49D0014357C /* ParseFacebookUtilsTvOS in Frameworks */ = {isa = PBXBuildFile; productRef = 39E248DF2AD1C49D0014357C /* ParseFacebookUtilsTvOS */; }; - 7C5F7FB129212AAD0035B219 /* PFFacebookDeviceAuthenticationProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C5F7FAF29212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.h */; }; - 7C5F7FB229212AAD0035B219 /* PFFacebookDeviceAuthenticationProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C5F7FB029212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.m */; }; - 7C5F7FB329212AAD0035B219 /* PFFacebookUtilsDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C5F7FAA29212A9F0035B219 /* PFFacebookUtilsDevice.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7C5F7FB429212AAD0035B219 /* PFFacebookUtilsDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C5F7FAC29212A9F0035B219 /* PFFacebookUtilsDevice.m */; }; - 7C5F7FB529212AAD0035B219 /* ParseFacebookUtilsTvOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C5F7FAB29212A9F0035B219 /* ParseFacebookUtilsTvOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7C5F7FB629212AAE0035B219 /* PFFacebookDeviceAuthenticationProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C5F7FAF29212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.h */; }; - 7C5F7FB729212AAE0035B219 /* PFFacebookDeviceAuthenticationProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C5F7FB029212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.m */; }; - 7C5F7FB829212AAE0035B219 /* PFFacebookUtilsDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C5F7FAA29212A9F0035B219 /* PFFacebookUtilsDevice.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7C5F7FB929212AAE0035B219 /* PFFacebookUtilsDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 7C5F7FAC29212A9F0035B219 /* PFFacebookUtilsDevice.m */; }; - 7C5F7FBA29212AAE0035B219 /* ParseFacebookUtilsTvOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C5F7FAB29212A9F0035B219 /* ParseFacebookUtilsTvOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - BCCC20E4271F1BB3003C9D03 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 39E248D82AD1C3F40014357C /* Parse-SDK-iOS-OSX */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "Parse-SDK-iOS-OSX"; path = ..; sourceTree = ""; }; - 4AAEAA90200C022300AA7479 /* ParseFacebookUtilsTvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ParseFacebookUtilsTvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4AAEAA93200C026300AA7479 /* ParseFacebookUtilsTvOS-Dynamic.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "ParseFacebookUtilsTvOS-Dynamic.xcconfig"; sourceTree = ""; }; - 7C5F7FA729212A9F0035B219 /* Localizable.strings */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; path = Localizable.strings; sourceTree = ""; }; - 7C5F7FA829212A9F0035B219 /* Info-tvOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-tvOS.plist"; sourceTree = ""; }; - 7C5F7FAA29212A9F0035B219 /* PFFacebookUtilsDevice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PFFacebookUtilsDevice.h; sourceTree = ""; }; - 7C5F7FAB29212A9F0035B219 /* ParseFacebookUtilsTvOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ParseFacebookUtilsTvOS.h; sourceTree = ""; }; - 7C5F7FAC29212A9F0035B219 /* PFFacebookUtilsDevice.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PFFacebookUtilsDevice.m; sourceTree = ""; }; - 7C5F7FAF29212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PFFacebookDeviceAuthenticationProvider.h; sourceTree = ""; }; - 7C5F7FB029212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PFFacebookDeviceAuthenticationProvider.m; sourceTree = ""; }; - 8121EA9F1D39862400AC0B02 /* Common.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Common.xcconfig; sourceTree = ""; }; - 8121EAA11D39862400AC0B02 /* iOS.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = iOS.xcconfig; sourceTree = ""; }; - 8121EAA21D39862400AC0B02 /* macOS.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = macOS.xcconfig; sourceTree = ""; }; - 8121EAA31D39862400AC0B02 /* tvOS.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = tvOS.xcconfig; sourceTree = ""; }; - 8121EAA41D39862400AC0B02 /* watchOS.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = watchOS.xcconfig; sourceTree = ""; }; - 8121EAA61D39862400AC0B02 /* Application.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Application.xcconfig; sourceTree = ""; }; - 8121EAA71D39862400AC0B02 /* DynamicFramework.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = DynamicFramework.xcconfig; sourceTree = ""; }; - 8121EAA81D39862400AC0B02 /* LogicTests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = LogicTests.xcconfig; sourceTree = ""; }; - 8121EAA91D39862400AC0B02 /* StaticFramework.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = StaticFramework.xcconfig; sourceTree = ""; }; - 8121EAAB1D39862400AC0B02 /* Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; - 8121EAAC1D39862400AC0B02 /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 8121EAAD1D39862400AC0B02 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 81FE7F721C1778FC00E6BD34 /* ParseFacebookUtilsTvOS.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ParseFacebookUtilsTvOS.xcconfig; sourceTree = ""; }; - 81FE7F8B1C17790400E6BD34 /* ParseFacebookUtilsTvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ParseFacebookUtilsTvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 4AAEAA86200C022300AA7479 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 81FE7F811C17790400E6BD34 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 39E248DE2AD1C43A0014357C /* ParseObjC in Frameworks */, - 39E248DC2AD1C4120014357C /* ParseFacebookUtils in Frameworks */, - 39E248E02AD1C49D0014357C /* ParseFacebookUtilsTvOS in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 034768DFFF38A50411DB9C8B /* Products */ = { - isa = PBXGroup; - children = ( - 81FE7F8B1C17790400E6BD34 /* ParseFacebookUtilsTvOS.framework */, - 4AAEAA90200C022300AA7479 /* ParseFacebookUtilsTvOS.framework */, - ); - name = Products; - sourceTree = ""; - }; - 0867D691FE84028FC02AAC07 /* Breakpad */ = { - isa = PBXGroup; - children = ( - 39E248D72AD1C3F40014357C /* Packages */, - F52CD63A1B58383C0051AB86 /* Configurations */, - 7C5F7FA529212A9F0035B219 /* ParseFacebookUtilsTvOS */, - 0867D69AFE84028FC02AAC07 /* Frameworks */, - 034768DFFF38A50411DB9C8B /* Products */, - ); - indentWidth = 4; - name = Breakpad; - sourceTree = ""; - }; - 0867D69AFE84028FC02AAC07 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; - 39E248D72AD1C3F40014357C /* Packages */ = { - isa = PBXGroup; - children = ( - 39E248D82AD1C3F40014357C /* Parse-SDK-iOS-OSX */, - ); - name = Packages; - sourceTree = ""; - }; - 7C5F7FA529212A9F0035B219 /* ParseFacebookUtilsTvOS */ = { - isa = PBXGroup; - children = ( - 7C5F7FA629212A9F0035B219 /* Resources */, - 7C5F7FA929212A9F0035B219 /* Source */, - 7C5F7FAD29212A9F0035B219 /* Internal */, - ); - path = ParseFacebookUtilsTvOS; - sourceTree = ""; - }; - 7C5F7FA629212A9F0035B219 /* Resources */ = { - isa = PBXGroup; - children = ( - 7C5F7FA729212A9F0035B219 /* Localizable.strings */, - 7C5F7FA829212A9F0035B219 /* Info-tvOS.plist */, - ); - path = Resources; - sourceTree = ""; - }; - 7C5F7FA929212A9F0035B219 /* Source */ = { - isa = PBXGroup; - children = ( - 7C5F7FAA29212A9F0035B219 /* PFFacebookUtilsDevice.h */, - 7C5F7FAB29212A9F0035B219 /* ParseFacebookUtilsTvOS.h */, - 7C5F7FAC29212A9F0035B219 /* PFFacebookUtilsDevice.m */, - ); - path = Source; - sourceTree = ""; - }; - 7C5F7FAD29212A9F0035B219 /* Internal */ = { - isa = PBXGroup; - children = ( - 7C5F7FAE29212A9F0035B219 /* AuthenticationProvider */, - ); - path = Internal; - sourceTree = ""; - }; - 7C5F7FAE29212A9F0035B219 /* AuthenticationProvider */ = { - isa = PBXGroup; - children = ( - 7C5F7FAF29212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.h */, - 7C5F7FB029212A9F0035B219 /* PFFacebookDeviceAuthenticationProvider.m */, - ); - path = AuthenticationProvider; - sourceTree = ""; - }; - 8121EA9E1D39862400AC0B02 /* Shared */ = { - isa = PBXGroup; - children = ( - 8121EA9F1D39862400AC0B02 /* Common.xcconfig */, - 8121EAA01D39862400AC0B02 /* Platform */, - 8121EAA51D39862400AC0B02 /* Product */, - 8121EAAA1D39862400AC0B02 /* Project */, - 8121EAAD1D39862400AC0B02 /* Warnings.xcconfig */, - ); - path = Shared; - sourceTree = ""; - }; - 8121EAA01D39862400AC0B02 /* Platform */ = { - isa = PBXGroup; - children = ( - 8121EAA11D39862400AC0B02 /* iOS.xcconfig */, - 8121EAA21D39862400AC0B02 /* macOS.xcconfig */, - 8121EAA31D39862400AC0B02 /* tvOS.xcconfig */, - 8121EAA41D39862400AC0B02 /* watchOS.xcconfig */, - ); - path = Platform; - sourceTree = ""; - }; - 8121EAA51D39862400AC0B02 /* Product */ = { - isa = PBXGroup; - children = ( - 8121EAA61D39862400AC0B02 /* Application.xcconfig */, - 8121EAA71D39862400AC0B02 /* DynamicFramework.xcconfig */, - 8121EAA81D39862400AC0B02 /* LogicTests.xcconfig */, - 8121EAA91D39862400AC0B02 /* StaticFramework.xcconfig */, - ); - path = Product; - sourceTree = ""; - }; - 8121EAAA1D39862400AC0B02 /* Project */ = { - isa = PBXGroup; - children = ( - 8121EAAB1D39862400AC0B02 /* Debug.xcconfig */, - 8121EAAC1D39862400AC0B02 /* Release.xcconfig */, - ); - path = Project; - sourceTree = ""; - }; - F52CD63A1B58383C0051AB86 /* Configurations */ = { - isa = PBXGroup; - children = ( - 81FE7F721C1778FC00E6BD34 /* ParseFacebookUtilsTvOS.xcconfig */, - 4AAEAA93200C026300AA7479 /* ParseFacebookUtilsTvOS-Dynamic.xcconfig */, - 8121EA9E1D39862400AC0B02 /* Shared */, - ); - path = Configurations; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 4AAEAA7A200C022300AA7479 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7C5F7FB829212AAE0035B219 /* PFFacebookUtilsDevice.h in Headers */, - 7C5F7FB629212AAE0035B219 /* PFFacebookDeviceAuthenticationProvider.h in Headers */, - 7C5F7FBA29212AAE0035B219 /* ParseFacebookUtilsTvOS.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 81FE7F761C17790400E6BD34 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 7C5F7FB329212AAD0035B219 /* PFFacebookUtilsDevice.h in Headers */, - 7C5F7FB129212AAD0035B219 /* PFFacebookDeviceAuthenticationProvider.h in Headers */, - 7C5F7FB529212AAD0035B219 /* ParseFacebookUtilsTvOS.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 4AAEAA77200C022300AA7479 /* ParseFacebookUtilsTvOS-Dynamic */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4AAEAA8D200C022300AA7479 /* Build configuration list for PBXNativeTarget "ParseFacebookUtilsTvOS-Dynamic" */; - buildPhases = ( - 4AAEAA7A200C022300AA7479 /* Headers */, - 4AAEAA81200C022300AA7479 /* Sources */, - 4AAEAA86200C022300AA7479 /* Frameworks */, - 4AAEAA8B200C022300AA7479 /* Resources */, - BCCC20E4271F1BB3003C9D03 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "ParseFacebookUtilsTvOS-Dynamic"; - packageProductDependencies = ( - ); - productName = Breakpad; - productReference = 4AAEAA90200C022300AA7479 /* ParseFacebookUtilsTvOS.framework */; - productType = "com.apple.product-type.framework"; - }; - 81FE7F731C17790400E6BD34 /* ParseFacebookUtilsTvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 81FE7F881C17790400E6BD34 /* Build configuration list for PBXNativeTarget "ParseFacebookUtilsTvOS" */; - buildPhases = ( - 81FE7F761C17790400E6BD34 /* Headers */, - 81FE7F7D1C17790400E6BD34 /* Sources */, - 81FE7F811C17790400E6BD34 /* Frameworks */, - 81FE7F861C17790400E6BD34 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = ParseFacebookUtilsTvOS; - packageProductDependencies = ( - 39E248DB2AD1C4120014357C /* ParseFacebookUtils */, - 39E248DD2AD1C43A0014357C /* ParseObjC */, - 39E248DF2AD1C49D0014357C /* ParseFacebookUtilsTvOS */, - ); - productName = Breakpad; - productReference = 81FE7F8B1C17790400E6BD34 /* ParseFacebookUtilsTvOS.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0867D690FE84028FC02AAC07 /* Project object */ = { - isa = PBXProject; - attributes = { - CLASSPREFIX = PF; - LastUpgradeCheck = 0920; - ORGANIZATIONNAME = "Parse, LLC"; - TargetAttributes = { - 4AAEAA77200C022300AA7479 = { - LastSwiftMigration = 1410; - }; - }; - }; - buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "ParseFacebookUtilsTvOS" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 1; - knownRegions = ( - da, - de, - es, - fr, - it, - ja, - nl, - no, - sl, - sv, - tr, - en, - Base, - ); - mainGroup = 0867D691FE84028FC02AAC07 /* Breakpad */; - packageReferences = ( - ); - productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 81FE7F731C17790400E6BD34 /* ParseFacebookUtilsTvOS */, - 4AAEAA77200C022300AA7479 /* ParseFacebookUtilsTvOS-Dynamic */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 4AAEAA8B200C022300AA7479 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 81FE7F861C17790400E6BD34 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 4AAEAA81200C022300AA7479 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7C5F7FB729212AAE0035B219 /* PFFacebookDeviceAuthenticationProvider.m in Sources */, - 7C5F7FB929212AAE0035B219 /* PFFacebookUtilsDevice.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 81FE7F7D1C17790400E6BD34 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7C5F7FB229212AAD0035B219 /* PFFacebookDeviceAuthenticationProvider.m in Sources */, - 7C5F7FB429212AAD0035B219 /* PFFacebookUtilsDevice.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1DEB922308733DC00010E9CD /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8121EAAB1D39862400AC0B02 /* Debug.xcconfig */; - buildSettings = { - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_ENABLE_CODE_COVERAGE = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - PARSE_DIR = "$(PROJECT_DIR)/.."; - }; - name = Debug; - }; - 1DEB922408733DC00010E9CD /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8121EAAC1D39862400AC0B02 /* Release.xcconfig */; - buildSettings = { - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_ENABLE_CODE_COVERAGE = NO; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - PARSE_DIR = "$(PROJECT_DIR)/.."; - }; - name = Release; - }; - 4AAEAA8E200C022300AA7479 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AAEAA93200C026300AA7479 /* ParseFacebookUtilsTvOS-Dynamic.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; - CLANG_ENABLE_MODULES = YES; - CLANG_MODULES_AUTOLINK = YES; - DEFINES_MODULE = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - SDKROOT = appletvos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TVOS_DEPLOYMENT_TARGET = 12.0; - }; - name = Debug; - }; - 4AAEAA8F200C022300AA7479 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4AAEAA93200C026300AA7479 /* ParseFacebookUtilsTvOS-Dynamic.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; - CLANG_ENABLE_MODULES = YES; - CLANG_MODULES_AUTOLINK = YES; - DEFINES_MODULE = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/Frameworks", - ); - ONLY_ACTIVE_ARCH = YES; - SDKROOT = appletvos; - SWIFT_VERSION = 5.0; - TVOS_DEPLOYMENT_TARGET = 12.0; - }; - name = Release; - }; - 81FE7F891C17790400E6BD34 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 81FE7F721C1778FC00E6BD34 /* ParseFacebookUtilsTvOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; - CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - SDKROOT = appletvos; - TVOS_DEPLOYMENT_TARGET = 12.0; - }; - name = Debug; - }; - 81FE7F8A1C17790400E6BD34 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 81FE7F721C1778FC00E6BD34 /* ParseFacebookUtilsTvOS.xcconfig */; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; - CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - SDKROOT = appletvos; - TVOS_DEPLOYMENT_TARGET = 12.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "ParseFacebookUtilsTvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1DEB922308733DC00010E9CD /* Debug */, - 1DEB922408733DC00010E9CD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4AAEAA8D200C022300AA7479 /* Build configuration list for PBXNativeTarget "ParseFacebookUtilsTvOS-Dynamic" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4AAEAA8E200C022300AA7479 /* Debug */, - 4AAEAA8F200C022300AA7479 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 81FE7F881C17790400E6BD34 /* Build configuration list for PBXNativeTarget "ParseFacebookUtilsTvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 81FE7F891C17790400E6BD34 /* Debug */, - 81FE7F8A1C17790400E6BD34 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCSwiftPackageProductDependency section */ - 39E248DB2AD1C4120014357C /* ParseFacebookUtils */ = { - isa = XCSwiftPackageProductDependency; - productName = ParseFacebookUtils; - }; - 39E248DD2AD1C43A0014357C /* ParseObjC */ = { - isa = XCSwiftPackageProductDependency; - productName = ParseObjC; - }; - 39E248DF2AD1C49D0014357C /* ParseFacebookUtilsTvOS */ = { - isa = XCSwiftPackageProductDependency; - productName = ParseFacebookUtilsTvOS; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = 0867D690FE84028FC02AAC07 /* Project object */; -} diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a62..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS-Dynamic.xcscheme b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS-Dynamic.xcscheme deleted file mode 100644 index ce40e066b..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS-Dynamic.xcscheme +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS.xcscheme b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS.xcscheme deleted file mode 100644 index fa31dd369..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS.xcodeproj/xcshareddata/xcschemes/ParseFacebookUtilsTvOS.xcscheme +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.h b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.h deleted file mode 100644 index 0e2936014..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.h +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) 2015-present, Parse, LLC. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ - -#import - -@import ParseFacebookUtils; - -@interface PFFacebookDeviceAuthenticationProvider : PFFacebookAuthenticationProvider - -@end diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.m b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.m deleted file mode 100644 index 1367ea7ab..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Internal/AuthenticationProvider/PFFacebookDeviceAuthenticationProvider.m +++ /dev/null @@ -1,96 +0,0 @@ -/** - * Copyright (c) 2015-present, Parse, LLC. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ - -#import "PFFacebookDeviceAuthenticationProvider.h" - -#if __has_include() -#import -#import -#else -#import "BFExecutor.h" -#import "BFTaskCompletionSource.h" -#endif - -@import ParseFacebookUtils; - -#import -#import -#import - - -@interface PFFacebookDeviceAuthenticationProvider () { - BFTaskCompletionSource *_loginTaskCompletionSource; - FBSDKDeviceLoginViewController *_loginViewController; -} - -@end - -@implementation PFFacebookDeviceAuthenticationProvider - -///-------------------------------------- -#pragma mark - PFFacebookAuthenticationProvider -///-------------------------------------- - -- (BFTask*> *)authenticateAsyncWithReadPermissions:(nullable NSArray *)readPermissions - publishPermissions:(nullable NSArray *)publishPermissions - fromViewComtroller:(UIViewController *)viewController { - return [BFTask taskFromExecutor:[BFExecutor mainThreadExecutor] withBlock:^id _Nonnull{ - if (self->_loginTaskCompletionSource) { - return [NSError errorWithDomain:FBSDKErrorDomain - code:FBSDKErrorDialogUnavailable - userInfo:@{ NSLocalizedDescriptionKey : @"Another login attempt is already in progress." }]; - } - self->_loginTaskCompletionSource = [BFTaskCompletionSource taskCompletionSource]; - self-> _loginViewController = [[FBSDKDeviceLoginViewController alloc] init]; - self->_loginViewController.delegate = self; - NSArray *permissions = [readPermissions arrayByAddingObjectsFromArray:publishPermissions]; - self->_loginViewController.permissions = permissions; - - [viewController presentViewController:self->_loginViewController animated:YES completion:nil]; - - return self->_loginTaskCompletionSource.task; - }]; -} - -///-------------------------------------- -#pragma mark - PFUserAuthenticationDelegate -///-------------------------------------- - -- (BOOL)restoreAuthenticationWithAuthData:(nullable NSDictionary *)authData { - if (!authData) { - [FBSDKAccessToken setCurrentAccessToken:nil]; - } - return [super restoreAuthenticationWithAuthData:authData]; -} - -///-------------------------------------- -#pragma mark - FBSDKDeviceLoginViewController -///-------------------------------------- - -- (void)deviceLoginViewControllerDidCancel:(FBSDKDeviceLoginViewController *)viewController { - [_loginTaskCompletionSource trySetCancelled]; - _loginViewController = nil; - _loginTaskCompletionSource = nil; -} - -- (void)deviceLoginViewControllerDidFinish:(FBSDKDeviceLoginViewController *)viewController { - FBSDKAccessToken *accessToken = [FBSDKAccessToken currentAccessToken]; - NSDictionary *result = [PFFacebookUtils userAuthenticationDataFromAccessToken:accessToken]; - [_loginTaskCompletionSource trySetResult:result]; - _loginViewController = nil; - _loginTaskCompletionSource = nil; -} - -- (void)deviceLoginViewController:(FBSDKDeviceLoginViewController *)viewController didFailWithError:(NSError *)error { - [_loginTaskCompletionSource trySetError:error]; - _loginViewController = nil; - _loginTaskCompletionSource = nil; -} - -@end diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Info-tvOS.plist b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Info-tvOS.plist deleted file mode 100644 index 62c478826..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Info-tvOS.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ParseFacebookUtilsTvOS - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.19.4 - CFBundleSignature - ???? - CFBundleVersion - 1.19.4 - - diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Localizable.strings b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Resources/Localizable.strings deleted file mode 100644 index e69de29bb..000000000 diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.h b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.h deleted file mode 100644 index 6907fd3ea..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// Header.h -// -// -// Created by Volodymyr Nazarkevych on 29.11.2022. -// -@import ParseFacebookUtils; - -@interface PFFacebookUtilsDevice : PFFacebookUtils - -///-------------------------------------- -/// @name Interacting With Facebook -///-------------------------------------- - -/** - Initializes Parse Facebook Utils. - - You must provide your Facebook application ID as the value for FacebookAppID in your bundle's plist file - as described here: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/ - - @warning You must invoke this in order to use the Facebook functionality in Parse. - - @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - */ -+ (void)initializeFacebookWithApplicationLaunchOptions:(nullable NSDictionary *)launchOptions; - -@end diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.m b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.m deleted file mode 100644 index 24a48bbbe..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/PFFacebookUtilsDevice.m +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright (c) 2015-present, Parse, LLC. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ - -#import "PFFacebookUtilsDevice.h" - -#if __has_include() -#import -#else -#import "BFExecutor.h" -#endif - -@import ParseCore; -@import ParseFacebookUtils; - -#import -#import "PFFacebookDeviceAuthenticationProvider.h" - -@implementation PFFacebookUtilsDevice - -///-------------------------------------- -#pragma mark - Interacting With Facebook -///-------------------------------------- - -+ (void)initializeFacebookWithApplicationLaunchOptions:(NSDictionary *)launchOptions { - if (![Parse currentConfiguration]) { - // TODO: (nlutsenko) Remove this when Parse SDK throws on every access to Parse._currentManager - [NSException raise:NSInternalInconsistencyException format:@"PFFacebookUtils must be initialized after initializing Parse."]; - } - if (!authenticationProvider_) { - Class providerClass = nil; - - providerClass = [PFFacebookDeviceAuthenticationProvider class]; - - PFFacebookAuthenticationProvider *provider = [providerClass providerWithApplication:[UIApplication sharedApplication] - launchOptions:launchOptions]; - [PFUser registerAuthenticationDelegate:provider forAuthType:PFFacebookUserAuthenticationType]; - - [self _setAuthenticationProvider:provider]; - } -} - -@end diff --git a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/ParseFacebookUtilsTvOS.h b/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/ParseFacebookUtilsTvOS.h deleted file mode 100644 index f2602cc3d..000000000 --- a/ParseFacebookUtilsTvOs/ParseFacebookUtilsTvOS/Source/ParseFacebookUtilsTvOS.h +++ /dev/null @@ -1,9 +0,0 @@ -// -// ParseFacebookUtils-tvOS.h -// ParseFacebookUtils-tvOS -// -// Created by Volodymyr Nazarkevych on 29.11.2022. -// Copyright © 2022 Parse, LLC. All rights reserved. -// - -#import "PFFacebookUtilsDevice.h"