Do not weak-link Xcode Private Frameworks

Summary: These are linked at runtime, so using these in tests or linking at build-time is un-needed

Reviewed By: jamescoggan

Differential Revision: D33630215

fbshipit-source-id: 5796ea88cf907c304d0069ee1fcf608994916276
This commit is contained in:
Lawrence Lomax 2022-01-18 04:14:40 -08:00 коммит произвёл Facebook GitHub Bot
Родитель e04cd1ff55
Коммит 69adc71f66
2 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -2,9 +2,6 @@
#include "../Configuration/Shared.xcconfig"
#include "../Configuration/Framework.xcconfig"
// Weak-Link Xcode Private Frameworks
OTHER_LDFLAGS = $(inherited) -weak_framework CoreSimulator -weak_framework SimulatorKit
// Target-Specific Settings
INFOPLIST_FILE = $(SRCROOT)/FBSimulatorControl/FBSimulatorControl-Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.FBSimulatorControl

Просмотреть файл

@ -7,8 +7,7 @@
#import <Foundation/Foundation.h>
#import <CoreSimulator/SimDevice.h>
#import <CoreSimulator/SimDeviceSet.h>
@class SimDeviceNotificationManager;
@interface FBSimulatorControlTests_SimDeviceType_Double : NSObject