App Tracking Transparency 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:
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:
Should I use AppTrackingTransparency through a macOS Bundle and wait macOS 11.0 SDK ?AppTrackingTransparency is not available when building for Mac Catalyst. Consider using #if !targetEnvironment(macCatalyst) to conditionally import this framework when building for iOS.