Summary: This is the first step in moving our logging stack to swift. Some of the code will be added or *slightly* updated in future diffs in the stack, because it is require proper bridging to be setted up and I don't need that cause I reimplemented other parts on swift in future diffs

Reviewed By: jbardini

Differential Revision: D36625231

fbshipit-source-id: 3c6ce5599ebdda0747fbb55d5bcd073287bb4d8d
This commit is contained in:
Nikita Patskov 2022-05-25 08:10:08 -07:00 коммит произвёл Facebook GitHub Bot
Родитель fc9f2a84c4
Коммит f5370c1d6a
3 изменённых файлов: 4 добавлений и 3 удалений

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

@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
Return Developer directory if exist or nil.
*/
+ (NSString *)getDeveloperDirectoryIfExists;
+ (nullable NSString *)getDeveloperDirectoryIfExists;
@end

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

@ -22,7 +22,7 @@
return [self findXcodeDeveloperDirectoryOrAssert];
}
+ (NSString *)getDeveloperDirectoryIfExists
+ (nullable NSString *)getDeveloperDirectoryIfExists
{
return [self findXcodeDeveloperDirectoryFromXcodeSelect:nil];
}
@ -160,7 +160,7 @@
return directory;
}
+ (NSString *)findXcodeDeveloperDirectoryFromXcodeSelect:(NSError **)error
+ (nullable NSString *)findXcodeDeveloperDirectoryFromXcodeSelect:(NSError **)error
{
static dispatch_once_t onceToken;
static NSString *directory;

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

@ -24,3 +24,4 @@
// Configuration
#import "../Configuration/FBIDBPortsConfiguration.h"
#import "../Configuration/FBIDBConfiguration.h"