The name of the bundle’s main executable class.
SDK
- macOS 10.0+
Framework
- Foundation
Details
- Name
- Principal class
- Type
- string
Discussion
The system uses the class identified by this key to set the principal
property of a bundle when it’s loaded.
Xcode sets the default value of this key to NSApplication
for macOS apps, and to UIApplication
for iOS and tvOS apps. For other types of bundles, you must set this key in The Info.plist File.