Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions React/Base/RCTDisplayLink.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
#import "RCTModuleData.h"
#import "RCTProfile.h"

#if TARGET_OS_OSX // TODO(macOS, https://github.com/microsoft/react-native-macos/issues/533)
// To compile in Xcode 12 beta 4 on macOS, we need to explicitly pull in the framework to get the definition for CACurrentMediaTime()
#import <Quartz/Quartz.h>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just want QuartzCore?

#endif // TODO(macOS, https://github.com/microsoft/react-native-macos/issues/533)

#define RCTAssertRunLoop() \
RCTAssert(_runLoop == [NSRunLoop currentRunLoop], \
@"This method must be called on the CADisplayLink run loop")
Expand Down