tomtaylor / satellite-eyes

Mac OS X app to automatically set your desktop wallpaper to the satellite view overhead.
http://satelliteeyes.tomtaylor.co.uk
Other
664 stars 61 forks source link

Fix launch at login #32

Closed tomtaylor closed 9 years ago

tomtaylor commented 9 years ago

SE has stopped launching at login, when that option is set. I can't work out if this is a code signing issue, or related to Yosemite.

I thought a89cd1768a0316b61cff8574a34565bd55ec09cf might fix it, but it hasn't.

When I run the app from /Applications and set 'Run SE at start up' in the preferences I see the following error:

24/10/2014 09:38:20.250 CoreServicesUIAgent[251]: unexpected message <OS_xpc_error: <error: 0x7fff79603c60> { count = 1, contents =
    "XPCErrorDescription" => <string: 0x7fff79603f70> { length = 18, contents = "Connection invalid" }
}>

Can anyone confirm if this happens on their build?

tomtaylor commented 9 years ago

Sometimes the error manifests as:

24/10/2014 09:40:25.477 xpcproxy[2810]: CFPreferences could not connect to its daemon.
 Preferences using the connection 0x0 will be volatile and will not be persisted to disk.
tomtaylor commented 9 years ago

Code signing seems OK:

$ spctl --verbose=4 --assess --type execute ~/Desktop/Satellite\ Eyes.app/
/Users/tom/Desktop/Satellite Eyes.app/: accepted
source=Developer ID
$ spctl --verbose=4 --assess --type execute ~/Desktop/Satellite\ Eyes.app/Contents/Library/LoginItems/LaunchAtLoginHelper.app
/Users/tom/Desktop/Satellite Eyes.app/Contents/Library/LoginItems/LaunchAtLoginHelper.app: accepted
source=Developer ID
$ codesign --display --requirements - ~/Desktop/Satellite\ Eyes.app/Contents/Library/LoginItems/LaunchAtLoginHelper.app
Executable=/Users/tom/Desktop/Satellite Eyes.app/Contents/Library/LoginItems/LaunchAtLoginHelper.app/Contents/MacOS/LaunchAtLoginHelper
designated => anchor apple generic and identifier "uk.co.tomtaylor.SatelliteEyes" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = UY2GK6B69X)
$ codesign --display --requirements - ~/Desktop/Satellite\ Eyes.app/
Executable=/Users/tom/Desktop/Satellite Eyes.app/Contents/MacOS/Satellite Eyes
designated => anchor apple generic and identifier "uk.co.tomtaylor.SatelliteEyes" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = UY2GK6B69X)
bobthecow commented 9 years ago

It's happening on Mavericks as well.

tomtaylor commented 9 years ago

Do you get that with the latest build of master too?

On 24 Oct 2014, at 13:28, Justin Hileman notifications@github.com wrote:

It's happening on Mavericks as well.

— Reply to this email directly or view it on GitHub.

bobthecow commented 9 years ago

Sorry, I forgot to respond. Yes, the latest build (and now release) seem to be working in Mavericks.