Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Sparkle Framework Issue #394

Open
franton opened this issue Mar 30, 2018 · 2 comments
Open

Sparkle Framework Issue #394

franton opened this issue Mar 30, 2018 · 2 comments

Comments

@franton
Copy link

franton commented Mar 30, 2018

I've been doing a lot of work with deployment of the app in a corporate environment. One of the issues I've found is that the application will just fail to run, usually with a crash log that traces to use of the sparkle framework.

Further investigation shows that the sparkle binary inside has 700 permissions. Thus any corporate environment that does application permission restrictions will automatically cause the app to crash.

drwxr-xr-x@ 5 root admin 160 22 Jan 23:26 .
drwxr-xr-x@ 4 root admin 128 30 Mar 17:39 ..
drwxr-xr-x@ 38 root admin 1216 30 Mar 17:39 Resources
-rwx------@ 1 root admin 487872 22 Jan 23:26 Sparkle
drwxr-xr-x@ 3 root admin 96 22 Jan 23:26 _CodeSignature

As you can see the default permissions only allows owner to run the framework. I've found that the following command will allow the app to run again:
chmod +rx /Applications/CocoaPods.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle

It should be pointed out that this appears to be squarely a sparkle issue because others apps, such as Forklift (https://binarynights.com) are affected similarly too.

@orta
Copy link
Member

orta commented Mar 30, 2018

Sound like we should try get that command in the deployment script 👍

@franton
Copy link
Author

franton commented Mar 30, 2018

Glad to help out! (found this through the autopkg project that most Mac admins use for software packaging ;) )

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

No branches or pull requests

2 participants