Add tvOS slice to AEMKit XCFramework

Summary:
This will make it easier to use SPM with tvOS.
Additionally gates some code that should not be available on tvOS.

Reviewed By: samodom

Differential Revision: D32958438

fbshipit-source-id: f6481fce09be2bfbbd8b120a40461b8dee329016
This commit is contained in:
Joe Susnick
2021-12-08 13:43:00 -08:00
committed by Facebook GitHub Bot
parent fe13eb9830
commit ca0463a799
2 changed files with 11 additions and 1 deletions

View File

@@ -6,7 +6,11 @@
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
#import "TargetConditionals.h"
#if !TARGET_OS_TV
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@@ -21,3 +25,5 @@ NS_SWIFT_NAME(AEMSettings)
@end
NS_ASSUME_NONNULL_END
#endif

View File

@@ -6,6 +6,8 @@
* LICENSE file in the root directory of this source tree.
*/
#if !TARGET_OS_TV
#import "FBAEMSettings.h"
static NSString *const APPID_KEY = @"FacebookAppID";
@@ -18,3 +20,5 @@ static NSString *const APPID_KEY = @"FacebookAppID";
}
@end
#endif