Skip to content

Synthesized property 'loginItems' Error #6

Description

@JohnSlaughter

When building for 32/64 bit, I get the following error:

"Synthesized property 'loginItems' must either be named the same as a compatible ivar or must explicitly name an ivar"

Tweaking the .h file, like so, fixes it:

@interface LaunchAtLoginController : NSObject {
LSSharedFileListRef loginItems;
}

This allows 32-bit support. Not sure if there's a better way, but that worked for me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions