Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synthesized property 'loginItems' Error #6

Open
JohnSlaughter opened this issue Jul 20, 2012 · 1 comment
Open

Synthesized property 'loginItems' Error #6

JohnSlaughter opened this issue Jul 20, 2012 · 1 comment

Comments

@JohnSlaughter
Copy link

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.

@skurfer
Copy link

skurfer commented Aug 18, 2012

Just ran into the same thing (and added the same fix locally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants