App Tracking Transparency - https://developer.apple.com/documentation/apptrackingtransparency is marked as available for Mac Catalyst 14.0 on Apple Documentation. It does not seem to be the case while testing with Xcode 12.
When importing framework in project settings, AppTrackingTransparency.framework is flagged "iOS/iPad only". Resulting an expected but unexpected error when importing library in a Swift file:
AppTrackingTransparency is not available when building for Mac Catalyst. Consider using #if !targetEnvironment(macCatalyst) to conditionally import this framework when building for iOS. Should I use AppTrackingTransparency through a macOS Bundle and wait macOS 11.0 SDK ?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode
App Tracking Transparency
Mac Catalyst