mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-04-30 18:32:53 +08:00
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:
committed by
Facebook GitHub Bot
parent
fe13eb9830
commit
ca0463a799
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user