From 2f38fdb6615aaf7043d4523235d306ba6b508d12 Mon Sep 17 00:00:00 2001 From: Jawwad Ahmad Date: Mon, 1 Nov 2021 14:14:11 -0700 Subject: [PATCH] Update CHANGELOG and remove the deprecated FacebookSDK.podspec file Summary: Added changes and fixes to CHANGELOG.md. Removed FacebookSDK.podspec since it is redundant and is no longer being published. The last version of it that was published was 11.2.1 Reviewed By: joesus Differential Revision: D32073830 fbshipit-source-id: 0fcf6998d9b13f437af7d2d48d27a5c4d71772e2 --- CHANGELOG.md | 12 +++++ FacebookSDK.podspec | 92 ------------------------------------ scripts/publish_cocoapods.sh | 4 -- 3 files changed, 12 insertions(+), 96 deletions(-) delete mode 100644 FacebookSDK.podspec diff --git a/CHANGELOG.md b/CHANGELOG.md index 07b29d2756..0ef394bd11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## 12.1.0 +### Changed +- When using SPM, FacebookAEM and FacebookBasics no longer have to be explicitly included + +### Fixed +- FBSDKShareDialog show does nothing the first time (Issue #1919) +- Unable to archive app for distribution using Xcode 12.5.1 and Swift Package Manager (Issue #1917) +- iOS 15: NSKeyedUnarchiver warning (Issued #1887) + +### Deprecated +- The aggregate FacebookSDK pod is deprecated. Please use one of the individual pods instead (i.e. FBSDKCoreKit, + FBSDKShareKit, FBSDKLoginKit, etc.) + [2021-10-26](https://github.com/facebook/facebook-ios-sdk/releases/tag/v12.1.0) | [Full Changelog](https://github.com/facebook/facebook-ios-sdk/compare/v12.0.2...v12.1.0) diff --git a/FacebookSDK.podspec b/FacebookSDK.podspec deleted file mode 100644 index e6ecddb182..0000000000 --- a/FacebookSDK.podspec +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright (c) Facebook, Inc. and its affiliates. -# All rights reserved. -# -# This source code is licensed under the license found in the -# LICENSE file in the root directory of this source tree. - -# If you've made changes to the SDK (such as file paths), consider using `pod lib lint` to lint locally and then using the :path option in your Podfile - -Pod::Spec.new do |s| - - s.name = 'FacebookSDK' - s.version = '12.1.0' - s.summary = 'Official Facebook SDK for iOS to access Facebook Platform' - - s.description = <<-DESC - The Facebook SDK for iOS enables you to use Facebook's Platform such as: - * Facebook Login to easily sign in users. - * Sharing features like the Share or Message Dialog to grow your app. - * Simpler Graph API access to provide more social context. - DESC - - s.homepage = 'https://developers.facebook.com/docs/ios/' - s.license = { :type => 'Facebook Platform License', :file => 'LICENSE' } - s.author = 'Facebook' - - s.platform = :ios, '9.0' - - s.source = { :http => "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Static.zip" } - - s.ios.weak_frameworks = 'Accelerate', 'Accounts', 'Social', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox', 'WebKit' - s.tvos.weak_frameworks = 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox' - - s.swift_version = '5.0' - - s.pod_target_xcconfig = { - 'EXCLUDED_ARCHS[sdk=iphonesimulator*]': 'arm64', - 'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'arm64', - } - s.user_target_xcconfig = { - 'EXCLUDED_ARCHS[sdk=iphonesimulator*]': 'arm64', - 'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'arm64' - } - - s.subspec 'Basics' do |ss| - ss.platform = :ios, :tvos - ss.ios.deployment_target = '9.0' - - ss.ios.vendored_framework = 'FBSDKCoreKit_Basics.framework' - ss.tvos.vendored_framework = 'tv/FBSDKCoreKit_Basics.framework' - ss.tvos.deployment_target = '10.0' - end - - s.subspec 'AEMKit' do |ss| - ss.ios.dependency 'FacebookSDK/Basics' - ss.ios.vendored_framework = 'FBAEMKit.framework' - end - - s.subspec 'CoreKit' do |ss| - ss.ios.dependency 'FacebookSDK/AEMKit' - ss.ios.dependency 'FacebookSDK/Basics' - ss.ios.vendored_framework = 'FBSDKCoreKit.framework' - - ss.tvos.deployment_target = '10.0' - ss.tvos.dependency 'FacebookSDK/Basics' - ss.tvos.vendored_framework = 'tv/FBSDKCoreKit.framework' - end - - s.subspec 'LoginKit' do |ss| - ss.dependency 'FacebookSDK/CoreKit' - ss.ios.vendored_framework = 'FBSDKLoginKit.framework' - - ss.tvos.deployment_target = '10.0' - ss.tvos.vendored_framework = 'tv/FBSDKLoginKit.framework' - end - - s.subspec 'ShareKit' do |ss| - ss.dependency 'FacebookSDK/CoreKit' - ss.ios.vendored_framework = 'FBSDKShareKit.framework' - - ss.tvos.deployment_target = '10.0' - ss.tvos.vendored_framework = 'tv/FBSDKShareKit.framework' - end - - s.subspec 'TVOSKit' do |ss| - ss.platform = :tvos - ss.tvos.deployment_target = '10.0' - ss.dependency 'FacebookSDK/CoreKit' - ss.dependency 'FacebookSDK/ShareKit' - ss.dependency 'FacebookSDK/LoginKit' - ss.vendored_framework = 'tv/FBSDKTVOSKit.framework' - end -end diff --git a/scripts/publish_cocoapods.sh b/scripts/publish_cocoapods.sh index 1c860757b6..3f7bc544fa 100755 --- a/scripts/publish_cocoapods.sh +++ b/scripts/publish_cocoapods.sh @@ -42,7 +42,3 @@ push_specs_and_update FBSDKTVOSKit FacebookGamingServices # 6. FBSDKGamingServicesKit (dependencies: FacebookGamingServices) push_specs_and_update FBSDKGamingServicesKit - -# NOTE: The release might need to be published before publishing FacebookSDK will work since it tries to access a FacebookSDK_Static.zip from a release that hasn't been published -# 7. FacebookSDK -push_specs_and_update FacebookSDK