Swift_PACKAGE_NAMEΒΆ
Added in version 4.4.
Specify the Swift package name for a target.
This property sets the package name passed to the Swift compiler via the
-package-name flag, which enables the package access control in Swift
code.
Note
Package access control was added in Swift 5.8 and Xcode 15. This target property has no effect when using an earlier version of Swift or Xcode.
If the property is not set, the PROJECT_NAME variable is used
as the default package name. See policy CMP0216.
Setting this property to the empty string will result in the target being compiled without a package name.