SUFeedURL / AppCast URL Incorrect after rebranding latest beta

15 views
Skip to first unread message

Zoran

unread,
Jun 30, 2024, 8:34:11 AMJun 30
to tunnelblick-discuss
Hi,

Have packaged & signed a re-branded version of Tunnelblick.  Everything works but the installed version of the app is picking up the incorrect URL for updates.

The info.plist file within the signed .DMG has the correct URL

<key>SUFeedURL</key>
<string>https://xxxx.xxx/appcast-v2-b.rss</string>

When checking the log on the installed app, it has a URL of https://xxxx.xxx/appcast-v2-b-b.rss

For some reason, 2 b's instead of just the one.

Version: Tunnelblick 6.0beta03



Tunnelblick developer

unread,
Jun 30, 2024, 9:25:35 AMJun 30
to tunnelblick-discuss
The Info.plist SUFeedURL entry should have "https://xxxx.xxx/appcast-v2.rss", without any "-b" or "-s".

Tunnelblick itself will append either "-b" or "-s", depending on whether it is a beta or stable version, before making the request. ("-b" is used when "beta" is contained within the Info.plist's CFBundleShortVersionString, otherwise "-s" is used.)

======================

As of 6.0beta01, Tunnelblick's appcast can now be a v3 (e.g. "https://xxxx.xxx/appcast-v3.rss"), which can contain multiple <item>s and adds two additional optional tests: maximumSystemVersion and architectures, to facilitate a future transition to versions of macOS and/or Xcode that support only Apple Silicon. architectures is a space-separated list of processor architectures including either "x86_64" or "arm64" or both. If maximumSystemVersion or architectures are omitted, no corresponding test is performed.

Note that v3 appcasts are still signed with v2 signatures.

Tunnelblick's 6.0beta03 appcasts contain two <item>s, one for x86_64, one for arm64. They are identical except for "architecture". You can examine it with

Zoran

unread,
Jul 1, 2024, 5:58:52 AMJul 1
to tunnelblick-discuss
Thanks heaps!!  Removing the "b" worked :)
Reply all
Reply to author
Forward
0 new messages