Commit Graph

416 Commits

Author SHA1 Message Date
github-actions[bot]
c71332f69f Bump build number to 261 2026-05-10 14:41:18 +00:00
Arkadiusz Fal
806be7d808 Bump build number to 260 2026-05-10 16:04:37 +02:00
Arkadiusz Fal
5d88ed9743 Skip Sparkle strip in Debug to keep incremental builds working
Removing the embedded framework after every build broke Xcode's
incremental copier on the next build (it would try to copy individual
files into a destination directory tree that no longer existed). The
strip is only meaningful for App Store-bound Release builds, so skip
it in Debug — Sparkle in a local debug bundle is harmless.
2026-05-08 07:42:26 +02:00
Arkadiusz Fal
df0f144ced Make Strip Sparkle build phase resilient to rm -rf races
The post-embed strip script was intermittently failing with "Directory
not empty" when rm -rf raced against codesign/Spotlight/Xcode touching
the freshly-embedded framework. Atomically rename the framework out of
the embed path first, then rm -rf with a short retry loop, so a clean
build is no longer needed to recover.
2026-05-08 07:40:32 +02:00
Arkadiusz Fal
d38b781858 Sparkle is macOS only 2026-04-23 06:19:24 +02:00
Arkadiusz Fal
b5bab10694 Strip Sparkle from App Store (Release) macOS build
Add -Wl,-dead_strip_dylibs to the Release config so the linker drops the
unused Sparkle LC_LOAD_DYLIB, and a Run Script phase that removes the
auto-embedded Sparkle.framework from the app bundle for every config
except Release-DeveloperID. Disable user script sandboxing on the Yattee
target so the rm is permitted. Release-DeveloperID keeps Sparkle linked
and embedded for the notarized Developer ID channel.
2026-04-23 05:32:42 +02:00
Arkadiusz Fal
a2a4691957 Integrate Sparkle auto-updates for macOS Developer ID builds
New Release-DeveloperID configuration gates Sparkle behind a SPARKLE
compile flag so the App Store Release build stays Sparkle-free. Adds
SPUStandardUpdaterController wrapper, Check for Updates menu command,
Advanced Settings section with beta channel toggle, and a Ruby script
plus GitHub Actions job that signs each release and publishes the
appcast to gh-pages for consumption by Sparkle and Homebrew cask.
2026-04-23 04:51:00 +02:00
Arkadiusz Fal
29c67d3276 Show app icon and version at bottom of macOS settings sidebar 2026-04-22 23:09:17 +02:00
github-actions[bot]
e3ee528d66 Bump build number to 259 2026-04-18 19:06:30 +00:00
Arkadiusz Fal
ee0666f5f7 Fix tvOS target configuration in Xcode project
Add tvos platformFilter to YatteeTopShelf.appex embed and target
dependency so it's only built for tvOS, and exclude Info-tvOS.plist
from Copy Bundle Resources via synchronized-folder membership
exceptions.
2026-04-18 20:38:02 +02:00
Arkadiusz Fal
0fe7194d68 Fix tvOS App Store upload rejection for icon assets
Use a tvOS-specific Info.plist to exclude iOS CFBundleAlternateIcons
keys that caused ITMS-90471 rejections, and drop empty image slots
from the tvOS brand asset catalog.
2026-04-18 20:38:02 +02:00
Arkadiusz Fal
9f86ff0667 Add tvOS Top Shelf extension
Surfaces Continue Watching, Recent Feed, and Recent Bookmarks in the
Apple TV Home top shelf when Yattee is focused. Tapping a tile opens
the video via the existing yattee://video/{id} deep link.

- New YatteeTopShelf app extension target (tvOS only). LD_ENTRY_POINT is
  overridden to _NSExtensionMain; the tv-app-extension product type
  defaults to _TVExtensionMain which is for the pre-tvOS-13 legacy API
  and crashes modern TVTopShelfContentProvider subclasses at launch.
- Main app writes per-section JSON snapshots (capped at 10 items each)
  to a shared App Group UserDefaults suite after bookmark, watch-history,
  and feed-cache changes, plus an initial write on launch.
- Enabled-sections list is mirrored to the same App Group so the
  extension can respect the user's selection without touching SwiftData.
- Settings → Top Shelf (tvOS only) lets the user toggle sections.
- Deep link playback shows a loading toast while video details are
  fetched, and an error toast if no source is configured.
2026-04-18 20:38:02 +02:00
github-actions[bot]
00ba029a92 Bump build number to 256 2026-04-18 20:38:00 +02:00
github-actions[bot]
1e45333d1e Bump build number to 254 2026-04-18 20:38:00 +02:00
github-actions[bot]
52bb32afdf Bump build number to 253 2026-04-18 20:38:00 +02:00
Arkadiusz Fal
109d165dac Revert app icon name to Yattee2 for Icon Composer
The Yattee2.icon/ Icon Composer file is the correct source for app
icons. The previous change to AppIcon was incorrect — AppIcon.appiconset
is an empty legacy placeholder with no actual PNGs.
2026-04-18 20:38:00 +02:00
Arkadiusz Fal
c53b0b3386 Fix app icon name to match asset catalog
ASSETCATALOG_COMPILER_APPICON_NAME was set to "Yattee2" but the
asset catalog only has "AppIcon.appiconset".
2026-04-18 20:38:00 +02:00
github-actions[bot]
2aca95e3fa Bump build number to 252 2026-04-18 20:38:00 +02:00
Arkadiusz Fal
904e4366fb Bump build number to 251 2026-04-18 20:37:35 +02:00
Arkadiusz Fal
fae390cff6 Fix build number 2026-04-18 20:37:35 +02:00
Arkadiusz Fal
100df744d9 Yattee v2 rewrite 2026-04-18 20:37:24 +02:00
Arkadiusz Fal
f28fdcec96 Bump build number 2026-04-18 18:31:19 +02:00
Arkadiusz Fal
ba3da4fc03 Wire Finnish, Indonesian, Korean, Dutch, Swedish into Localizable.strings build
Commit 37c6f6abb added fi/id/ko/nl/sv to knownRegions but never registered
their .strings files, so Xcode never copied them into the app bundle and the
runtime fell back to English even when the scheme forced one of these
languages. Adds the missing PBXFileReference entries and includes them in
the Localizable.strings PBXVariantGroup.
2026-04-18 18:25:57 +02:00
Arkadiusz Fal
7fe99b09ef Update build number 2026-02-07 20:24:45 +01:00
Arkadiusz Fal
d8e079ac90 Bump build number to 211 2025-11-23 17:11:12 +01:00
Arkadiusz Fal
0c4609bcf1 Update dependencies 2025-11-23 13:43:43 +01:00
Arkadiusz Fal
320c16fcc7 Bump build number to 210 2025-11-20 17:56:24 +01:00
Arkadiusz Fal
bb2bd86c07 Add feature flag to disable hide shorts functionality
The hide shorts feature is no longer working due to API changes that prevent reliable detection of short videos. This commit introduces a feature flag system to disable the functionality while preserving the ability to easily restore it if the API issue is resolved.

Changes:
- Add FeatureFlags.swift with hideShortsEnabled flag (currently disabled)
- Hide all HideShortsButtons UI elements when flag is disabled
- Disable shorts filtering logic in ContentItemView, FavoriteItemView, and FeedModel
- Preserve hideShorts user preference for future restoration
2025-11-20 13:05:12 +01:00
Arkadiusz Fal
c1b23d20f2 Fix tab selection timing to wait for account sign-in
Tab selection was being set immediately during app configuration, before
the user account had completed sign-in. This caused tabs that require
authentication (like Subscriptions and Playlists) to not be properly
selected on startup since they weren't visible yet.

Changes:
- Add notification system for account configuration completion
- Post notification after all account types finish configuration:
  * Accounts with existing tokens
  * Accounts requiring sign-in (after network request completes)
  * Anonymous/public accounts
  * Error cases (missing credentials, network failures)
- Set up observer before account configuration to ensure notification
  is received
- Set tab selection only when account is fully configured
2025-11-19 23:24:21 +01:00
Arkadiusz Fal
b8f6dabbc9 Update SwiftUI-Introspect to support iOS 26
Upgrade SwiftUI-Introspect dependency from 1.3.0 to 26.0.0 and add iOS 26 support to the introspect modifier in AppSidebarNavigation.
2025-11-19 23:09:18 +01:00
Arkadiusz Fal
ea0ea427e7 Bump build number to 209 2025-11-19 18:55:21 +01:00
Arkadiusz Fal
50efe94839 Add macOS-specific entitlements for MPV backend
Enable Allow Unsigned Executable Memory and Disable Library Validation
entitlements for macOS target only to support MPV player backend.
2025-11-18 16:59:17 +01:00
Arkadiusz Fal
1e7656a9eb Revert MPVKit to track main branch
Switch MPVKit package dependency from pinned revision back to tracking the main branch for latest updates.
2025-11-18 16:46:30 +01:00
Arkadiusz Fal
9c15393ab4 Pin MPVKit to specific commit revision
Pins MPVKit dependency to commit 8db0d19d03adaf824588de7f7cdbc05b8e2016bc
instead of tracking the main branch to ensure build stability.
2025-11-15 23:30:53 +01:00
Arkadiusz Fal
09e02477f0 Bump build number to 208 2025-11-15 21:16:06 +01:00
Arkadiusz Fal
c47c52f8f3 Enable resizable windows on iPad
Changed UIRequiresFullScreen to NO to allow pixel-perfect window
resizing on iPad. Also moved ITSAppUsesNonExemptEncryption to
project settings for cleaner configuration.
2025-11-14 23:27:14 +01:00
Arkadiusz Fal
a9fcc5ce99 Bump build number to 207 2025-11-10 13:00:38 +01:00
Arkadiusz Fal
e91eac0522 Bump build number to 206 2025-11-10 12:48:13 +01:00
Arkadiusz Fal
86b74d53ca Bump build number to 205 2025-11-10 12:40:20 +01:00
Arkadiusz Fal
797ba61ddd Skip framework conversion script in CI/GitHub Actions
Added checks to skip the framework conversion script when running in
CI environments (GitHub Actions). The script now exits early if either
CI or GITHUB_ACTIONS environment variables are set.

This ensures:
- Script only runs for local development builds
- GitHub Actions builds use frameworks as-is from MPVKit
- iOS/tvOS builds on macOS 15 with Xcode 16.4 work without conversion

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 12:39:13 +01:00
Arkadiusz Fal
bf40f527ea Add macOS framework conversion for Developer ID distribution
This commit implements a workaround for MPVKit shipping frameworks as
shallow bundles, which are incompatible with macOS Developer ID
distribution requirements.

Changes:

1. Raised macOS deployment target to 14.0
   - Matches MPVKit's minimum requirement
   - Previous: 11.0
   - New: 14.0

2. Added Run Script phase to convert frameworks
   - Converts MPVKit frameworks from shallow to versioned bundles
   - Required for macOS Developer ID code signing
   - Runs after framework embedding
   - Converts all 28 MPVKit frameworks during build

3. Modified fastlane build process
   - Build and archive without export
   - Create PKG directly from archive
   - Avoids extended attribute issues from export process

4. Pinned MPVKit to specific commit
   - Commit: e7e914a70e943f0d4f050c9ede793af8f6e74ad7
   - Ensures consistent framework structure

Known Issues:
- Some frameworks (Libplacebo, Libluajit) have signature issues after
  conversion that still prevent successful notarization
- This is a workaround; the root issue should be fixed in MPVKit by
  providing macOS-compatible versioned bundle frameworks

See minimal reproduction project at:
/tmp/MPVKit-Notarization-Issue/MPVKitNotarizationTest/

Related: MPVKit should provide macOS-specific XCFrameworks with
versioned bundles for proper Developer ID distribution support.

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 12:32:32 +01:00
Arkadiusz Fal
161282af0b Bump build number to 204 2025-11-09 18:20:50 +01:00
Arkadiusz Fal
37c6f6abbe Add localization support for Finnish, Indonesian, Korean, Dutch, and Swedish
Adds five new languages to the Xcode project knownRegions that have at least 50% translation coverage from Weblate:
- Finnish (fi): 100%
- Indonesian (id): 100%
- Korean (ko): 100%
- Dutch (nl): 81.9%
- Swedish (sv): 77.4%

Languages with less than 50% coverage (ars, kab, sk) were not added.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 18:19:40 +01:00
Arkadiusz Fal
e0ca48fd44 Improve tvOS settings UI styling and navigation
- Add TVOSPlainToggleStyle for cleaner toggle appearance on tvOS
- Remove focus overlays from settings navigation links and buttons
- Apply plain button and list styles across all settings screens
- Implement custom system controls picker for tvOS to avoid focus overlay
- Update SettingsPickerModifier with platform-specific styling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 18:14:35 +01:00
Arkadiusz Fal
495dcec874 Add macOS build script and update Swift package dependencies
Add custom build phase script to fix macOS framework bundle structure and
clean module caches:
- Converts shallow bundles (iOS-style) to versioned bundles (macOS-style)
- Cleans Swift module caches for macOS builds to prevent cache issues
- Creates proper symlink structure for macOS frameworks (Versions/Current)
- Handles Info.plist, Headers, Modules, and Resources directories

Update Swift Package Manager dependencies:
- SDWebImage: 5.21.0 → 5.21.3
- SDWebImageWebPCoder: 0.14.6 → 0.15.0
- swift-log: 1.6.3 → 1.6.4
- Package.resolved format: version 2 → version 3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 18:14:35 +01:00
github-actions[bot]
e77d5a0a7c Bump build number to 203 2025-11-07 12:33:59 +00:00
github-actions[bot]
d76c82eb65 Bump build number to 202 2025-09-09 07:37:06 +00:00
Arkadiusz Fal
6935866183 Bump tvOS version 2025-06-17 16:37:53 +02:00
Arkadiusz Fal
b2593c02b9 Bump build number to 201 2025-06-17 16:12:21 +02:00
Arkadiusz Fal
e068257f14 Bump build number to 200 2025-03-23 15:04:56 +01:00