Integrating with Sparkle for updates on Mac OS

128 views
Skip to first unread message

Dmitry A. Shashkin

unread,
Oct 22, 2014, 1:00:49 PM10/22/14
to chromi...@chromium.org
Hello,

I know that there is another topic about this, but it looks like it is a little outdated, so I will start new one.

I'm trying to integrate Sparkle with the latest version of Chromium.
I'm using a prebuilt copy of Sparkle and as I understand from the Sparkle docs, all I need to do is link with Sparkle.framework and place Sparkle.framework inside Chromium.app.

I placed Sparkle.framework into the project's root directory and changed chrome/chrome_browser.gypi in the following way:

      ['OS=="mac"', {
          ...
          'link_settings': {
            'libraries': [
              ...
              '../Sparkle.framework',
            ],
          },
          'postbuilds': [
            {
              'postbuild_name': 'Copy Sparkle.framework',
              'action': [
                '../build/mac/copy_framework_unversioned.sh',
                '../Sparkle.framework',
                '${BUILT_PRODUCTS_DIR}/Chromium.app/Frameworks'
              ],
            },
          ],
        }],

However, SOLINK "Chromium Framework.framework/Versions/A/Chromium Framework", POSTBUILDS step fails for me with the following error:
ld: framework not found Sparkle

I tried to add library_dirs and mac_framework_dirs pointing to '..' to link_settings but it looks like it has no effect.

Could someone please let me know, what am I missing here?
Thanks in advance.

nicholas...@lucidworks.com

unread,
May 6, 2018, 6:45:38 PM5/6/18
to Chromium-dev
Darn. all the topics on this are unanswered. how are people updating their mac builds of chromium? 
Reply all
Reply to author
Forward
0 new messages