I have an app that runs as a status bar app, mostly. I have set the following in the info.plist file for the app:
<key>Application is agent (UIElement)</key>
<true/>
However, I get a compile error:
Provisioning profile Mac Team Provisioning Profile: yout.Drive doesn't include the Application is agent (UIElement) entitlement.
Checking the entitlements, I do not see this entitlement anywhere. Where and how do I set this?
To create a UI element, set the LSUIElement
property in your Info.plist
. It looks like you’re hitting two problems:
- You’re using the display name of the property, Application is agent (UIElement), rather than the actual name,
LSUIElement
. - You’ve put it in your
.entitlements
file, rather than yourInfo.plist
.
If you’re using Xcode, set the Application is Agent (UIElement) build setting, which will add the LSUIElement
property during the build process.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"