fix(tvos): explicitly link AVKit for avDisplayManager category
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import AVFoundation
|
||||
#if os(tvOS)
|
||||
import AVKit
|
||||
#endif
|
||||
import QuartzCore
|
||||
import UIKit
|
||||
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
// AVKit owns UIWindow.avDisplayManager (used for native Dolby Vision
|
||||
// trigger). Swift autolink doesn't reliably emit -framework AVKit for
|
||||
// ObjC category access, so link it explicitly.
|
||||
OTHER_LDFLAGS = $(inherited) -framework AVKit
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
|
||||
#include "Generated.xcconfig"
|
||||
|
||||
// AVKit owns UIWindow.avDisplayManager (used for native Dolby Vision
|
||||
// trigger). Swift autolink doesn't reliably emit -framework AVKit for
|
||||
// ObjC category access, so link it explicitly.
|
||||
OTHER_LDFLAGS = $(inherited) -framework AVKit
|
||||
|
||||
Reference in New Issue
Block a user