Skip to content

Commit

Permalink
Remove support for tvOS
Browse files Browse the repository at this point in the history
Summary: tvOS is no longer supported

Reviewed By: samodom

Differential Revision: D40691780

fbshipit-source-id: f189dc7a95825ac04c9e87cb98b990ea29eaebf4
  • Loading branch information
jawwad authored and facebook-github-bot committed Oct 26, 2022
1 parent ef4f8ec commit 897d66b
Show file tree
Hide file tree
Showing 178 changed files with 8 additions and 2,585 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ body:
- Login
- Share
- Gaming Services
- TVOS
- Other / I don't know
validations:
required: true
Expand Down
22 changes: 0 additions & 22 deletions Configurations/FacebookSDK-Project-TVOS-Debug.xcconfig

This file was deleted.

22 changes: 0 additions & 22 deletions Configurations/FacebookSDK-Project-TVOS-Release.xcconfig

This file was deleted.

25 changes: 0 additions & 25 deletions Configurations/FacebookSDK-Project-TVOS.xcconfig

This file was deleted.

14 changes: 0 additions & 14 deletions Configurations/Platform/tvOS.xcconfig

This file was deleted.

3 changes: 1 addition & 2 deletions FBAEMKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ Pod::Spec.new do |s|
}
s.author = 'Facebook'

s.platform = :ios, :tvos
s.platform = :ios
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'

s.source = {
http: "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Dynamic.xcframework.zip",
Expand Down
16 changes: 0 additions & 16 deletions FBAEMKit/Configurations/FBAEMKit-tvOS-Dynamic.xcconfig

This file was deleted.

16 changes: 0 additions & 16 deletions FBAEMKit/Configurations/FBAEMKit-tvOS-Static.xcconfig

This file was deleted.

4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMAdvertiserMultiEntryRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

final class AEMAdvertiserMultiEntryRule: NSObject, AEMAdvertiserRuleMatching, NSSecureCoding {
Expand Down Expand Up @@ -68,5 +66,3 @@ final class AEMAdvertiserMultiEntryRule: NSObject, AEMAdvertiserRuleMatching, NS
coder.encode(rules, forKey: CodingKeys.rules.rawValue)
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMAdvertiserRuleFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import FBSDKCoreKit_Basics
import Foundation

Expand Down Expand Up @@ -177,5 +175,3 @@ final class AEMAdvertiserRuleFactory: AEMAdvertiserRuleProviding {
return operators.contains(`operator`)
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMAdvertiserRuleMatching.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

protocol AEMAdvertiserRuleMatching {
func isMatchedEventParameters(_ eventParams: [String: Any]?) -> Bool
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMAdvertiserRuleOperator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

enum AEMAdvertiserRuleOperator: Int {
case unknown = 0
// Multi Entry Rule Operator
Expand All @@ -34,5 +32,3 @@ enum AEMAdvertiserRuleOperator: Int {
case isAny
case isNotAny
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMAdvertiserRuleProviding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

/**
Expand All @@ -19,5 +17,3 @@ protocol AEMAdvertiserRuleProviding {

func createRule(dictionary: [String: Any]) -> AEMAdvertiserRuleMatching?
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMAdvertiserSingleEntryRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import FBSDKCoreKit_Basics
import Foundation

Expand Down Expand Up @@ -335,5 +333,3 @@ final class AEMAdvertiserSingleEntryRule: NSObject, NSSecureCoding, AEMAdvertise
return false
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

final class AEMConfiguration: NSObject, NSSecureCoding {
Expand Down Expand Up @@ -183,5 +181,3 @@ final class AEMConfiguration: NSObject, NSSecureCoding {

static var supportsSecureCoding: Bool { true }
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

final class AEMEvent: NSObject, NSSecureCoding {
Expand Down Expand Up @@ -85,5 +83,3 @@ final class AEMEvent: NSObject, NSSecureCoding {
&& values == other.values
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMInvocation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import CommonCrypto.CommonHMAC
import FBSDKCoreKit_Basics
import Foundation
Expand Down Expand Up @@ -510,5 +508,3 @@ class AEMInvocation: NSObject, NSSecureCoding { // swiftlint:disable:this prefer
}
#endif
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMNetworker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import FBSDKCoreKit_Basics
import Foundation

Expand Down Expand Up @@ -198,5 +196,3 @@ final class AEMNetworker: NSObject, AEMNetworking, URLSessionDataDelegate {
}
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMNetworking.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

public typealias FBGraphRequestCompletion = (Any?, Error?) -> Void
Expand All @@ -23,5 +21,3 @@ public protocol AEMNetworking {
completion: @escaping FBGraphRequestCompletion
)
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMReporter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import FBSDKCoreKit_Basics
import Foundation

Expand Down Expand Up @@ -1029,5 +1027,3 @@ public final class AEMReporter: NSObject {

#endif
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMRequestBody.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import FBSDKCoreKit_Basics
import Foundation

Expand Down Expand Up @@ -99,5 +97,3 @@ final class AEMRequestBody {
append(utf8: Constants.kNewline)
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import FBSDKCoreKit_Basics
import Foundation

Expand Down Expand Up @@ -147,5 +145,3 @@ final class AEMRule: NSObject, NSSecureCoding {
&& events == rule.events
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

enum AEMSettings {
Expand All @@ -26,5 +24,3 @@ extension AEMSettings: DependentAsType {

static var defaultDependencies: TypeDependencies? = TypeDependencies(bundle: .main)
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/AEMUtility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import FBSDKCoreKit_Basics
import Foundation

#if !os(tvOS)

final class AEMUtility {
private enum Keys {
static let content = "fb_content"
Expand Down Expand Up @@ -120,5 +118,3 @@ final class AEMUtility {
case invalidContentIDsJSONObject
}
}

#endif
4 changes: 0 additions & 4 deletions FBAEMKit/FBAEMKit/SKAdNetworkReporting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import Foundation

@objc(FBSKAdNetworkReporting)
Expand All @@ -21,5 +19,3 @@ public protocol SKAdNetworkReporting {
@objc
func checkAndRevokeTimer()
}

#endif
Loading

0 comments on commit 897d66b

Please sign in to comment.