Cannot access browser cookies despite Full Disk Access being enabled
Environment:
- macOS 27.2.1
- Youwee 0.21.0
- Chrome installed for testing Safari cookie issues
Tests performed:
- Enabled Full Disk Access for Youwee multiple times and restarted the application. The warning persists.
- Chrome cookie database exists at:
~/Library/Application Support/Google/Chrome/Default/Cookies - Running yt-dlp directly from Terminal with Full Disk Access successfully extracts 58 Chrome cookies, decrypts them using macOS Keychain, recognizes the YouTube account and retrieves video formats.
- Youwee still reports:
macOS privacy protection is blocking Youwee - Safari also fails with:
custom safari cookies database not found
Additional code-signing diagnostics:
- Bundle ID:
com.vanloctech.youwee - Signature identifier:
youwee - TeamIdentifier:
not set Contents/_CodeSignaturedoes not exist.codesign --verify --deep --strict --verbose=2returns:code has no resources but signature indicates they must be present- Verifying the main executable separately returns the same error.
xattr -l /Applications/Youwee.appreturns no attributes.
Please investigate:
- Whether the macOS TCC Full Disk Access check correctly identifies the running Youwee application.
- Whether the Tauri application bundle is being signed or packaged incorrectly.
- Whether the yt-dlp child process inherits the required macOS privacy permissions.
- Why Youwee reports a Full Disk Access error when yt-dlp can successfully read the same Chrome database when launched from Terminal.
The issue appears to affect both Safari and Chrome cookie access, while standalone yt-dlp works correctly.
Yes, this issue is due to macOS 27; I haven’t signed the application with an Apple Developer account because I lack the funds to do so.
Here is how to resolve it: go to Privacy settings -> Full Disk Access, click the minus (-) sign to remove Youwee, then click the plus (+) sign to add it back.
Hi! Thanks for the Full Disk Access fix. Removing Youwee from Full Disk Access and adding it again solved the Chrome cookie issue. Chrome now works correctly.
However, Safari still doesn't work.
The error is:
ERROR: custom safari cookies database not found
I checked the command generated by Youwee, and it uses:
--cookies-from-browser safari:Default
I believe this is the remaining issue. Unlike Chrome, Safari does not use browser profile names in the same way. In yt-dlp, passing safari:Default makes it interpret Default as a custom cookies database file path, rather than using Safari's default cookie database locations.
The correct argument should be:
--cookies-from-browser safari
instead of:
--cookies-from-browser safari:Default
Chrome should continue using:
--cookies-from-browser chrome:Default
Could you please fix the Safari cookie source so that Youwee doesn't append :Default when Safari is selected?
Thanks!
Ok, I will consider this problem