I have a MacOS package dependency which defines some class: FontPens
import Foundation
...
public class BoundsPen: Pen {
var bounds = CGRect.null
private var currentPoint = CGPoint.zero
....
After upgrading Xcode to 14.1 both lines throws errors Type 'CGRect' has no member 'null' and Type 'CGPoint' has no member 'zero'.
Calling CGPoint.zero and CGRect.null from an app is OK if Foundation is imported.
Is it a way to solve this problem without changing package source?
Selecting any option will automatically load the page