<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Studio agent generates AppleScript calendar workflows the app binary cannot execute in Desktop (Mac)</title>
    <link>https://community.spotify.com/t5/Desktop-Mac/Studio-agent-generates-AppleScript-calendar-workflows-the-app/m-p/7508458#M556010</link>
    <description>&lt;P&gt;&lt;STRONG&gt;SUMMARY:&amp;nbsp;&lt;/STRONG&gt;The Studio agent generates AppleScript calendar workflows that the app binary cannot execute because the app is missing the &lt;FONT color="#FF0000"&gt;com.apple.security.automation.apple-events&lt;/FONT&gt; entitlement.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENVIRONMENT&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;App&lt;EM&gt;:Studio by Spotify Labs&lt;/EM&gt; &lt;/STRONG&gt;1.2.95.293.gf2b39d54 (master)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Components&lt;/STRONG&gt;: super-connect v0.10.600, upload-to-spotify 0.1.5&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt; macOS Tahoe 26.5.2&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Hardware&lt;/STRONG&gt;: [Apple Silicon / Intel]&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;App path&lt;/STRONG&gt;:&lt;FONT face="courier new,courier"&gt; /Applications/Studio by Spotify Labs.app&lt;/FONT&gt;&lt;BR /&gt;Code signature: Valid. Developer ID Application: Spotify (2FNC3A47ZF), notarized. The signature itself is intact; the defect is a missing entitlement within it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ISSUE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;While configuring a Personal Podcast with Apple Calendar and Apple Reminders integration, the agent's access attempts are consistently blocked. Reproduced consistently; ruled out antivirus, VPN, firewall, and all user-configurable macOS permissions before isolating the root cause: a missing entitlement in the app's hardened-runtime code signature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When asked to read Calendar or Reminders, the agent shells out to osascript. Every attempt fails with "privilege violation / Connection invalid" to &lt;FONT face="courier new,courier"&gt;com.apple.hiservices-xpcservice&lt;/FONT&gt;. The unified log shows &lt;FONT face="courier new,courier" color="#FF0000"&gt;tccd&lt;/FONT&gt; rejecting the request because the app's hardened runtime lacks the required entitlement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prompting policy for hardened runtime; service: &lt;FONT face="courier new,courier" color="#FF0000"&gt;kTCCServiceAppleEvents&lt;/FONT&gt; requires entitlement com.apple.security.automation.apple-events but it is missing for :&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;accessing={TCCDProcess: identifier=com.spotify.studio, ...}, requesting={TCCDProcess: identifier=com.apple.osascript, ...}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Under macOS's hardened runtime, an app must have com.apple.security.automation.apple-events compiled into its code signature to send AppleScript commands to other apps at all.&lt;BR /&gt;&lt;BR /&gt;Without it, tccd refuses the request before any prompt or permission check occurs. That produces the "privilege violation / Connection invalid" error the agent sees, and it explains why the block sits upstream of everything user-configurable: the gate is not a setting but a missing declaration sealed into the app's signature at build time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Denial timestamps in the tccd log correspond one-to-one with the agent's failed Calendar and Reminders attempts. Both features were independently reproduced and fail identically through the same kTCCServiceAppleEvents gate.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMPACT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Calendar-driven Personal Podcasts cannot access local Apple Calendar or Reminders. User-side Automation permissions are granted and visible in System Settings &amp;gt; Privacy &amp;amp; Security &amp;gt; Automation (Calendar.app and Reminders.app both toggled on for Studio), but they are unreachable because the entitlement gate precedes the TCC check. No user configuration can resolve this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUGGESTED FIX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Either ship the binary with the com.apple.security.automation.apple-events entitlement, or route calendar access through EventKit or a native connector instead of agent-generated osascript.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RELATED ADDITIONAL FINDINGS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. The same pattern fires for kTCCServiceMicrophone and kTCCServiceCamera. The binary also lacks com.apple.security.device.audio-input and com.apple.security.device.camera. Microphone and camera access appears similarly affected on these code paths.&lt;/P&gt;&lt;P&gt;2. Studio-driven Google Chrome sessions (Studio's browsing feature; Chrome running with Studio as the TCC responsible process) hit the same missing audio-input and camera entitlements. Same root cause, additional affected surfaces.&lt;/P&gt;&lt;P&gt;3. Note: I had not requested any camera or microphone functionality when these checks fired. Worth confirming these probes are intentional (for example, capability enumeration at startup) rather than unintended.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-07-22 at 17.27.15.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/210043i8E80DDD60DAF8B03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-07-22 at 17.27.15.png" alt="Screenshot 2026-07-22 at 17.27.15.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-07-22 at 17.27.54.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/210044iEF6E33B6D4B9F418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-07-22 at 17.27.54.png" alt="Screenshot 2026-07-22 at 17.27.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1. Terminal output (codesign -d --entitlements -) demonstrating the missing entitlements in the app's code signature&lt;BR /&gt;2. Unified log capture (log show, process tccd) of the failed Calendar and Reminders access attempts, showing the osascript attribution chain (requesting=com.apple.osascript, responsible=com.spotify.studio)&lt;BR /&gt;3. Deduplicated failure counts per entitlement (sort | uniq -c), filtered to com.spotify.studio&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 21:28:54 GMT</pubDate>
    <dc:creator>JaredG99</dc:creator>
    <dc:date>2026-07-22T21:28:54Z</dc:date>
    <item>
      <title>Studio agent generates AppleScript calendar workflows the app binary cannot execute</title>
      <link>https://community.spotify.com/t5/Desktop-Mac/Studio-agent-generates-AppleScript-calendar-workflows-the-app/m-p/7508458#M556010</link>
      <description>&lt;P&gt;&lt;STRONG&gt;SUMMARY:&amp;nbsp;&lt;/STRONG&gt;The Studio agent generates AppleScript calendar workflows that the app binary cannot execute because the app is missing the &lt;FONT color="#FF0000"&gt;com.apple.security.automation.apple-events&lt;/FONT&gt; entitlement.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENVIRONMENT&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;App&lt;EM&gt;:Studio by Spotify Labs&lt;/EM&gt; &lt;/STRONG&gt;1.2.95.293.gf2b39d54 (master)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Components&lt;/STRONG&gt;: super-connect v0.10.600, upload-to-spotify 0.1.5&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt; macOS Tahoe 26.5.2&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Hardware&lt;/STRONG&gt;: [Apple Silicon / Intel]&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;App path&lt;/STRONG&gt;:&lt;FONT face="courier new,courier"&gt; /Applications/Studio by Spotify Labs.app&lt;/FONT&gt;&lt;BR /&gt;Code signature: Valid. Developer ID Application: Spotify (2FNC3A47ZF), notarized. The signature itself is intact; the defect is a missing entitlement within it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ISSUE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;While configuring a Personal Podcast with Apple Calendar and Apple Reminders integration, the agent's access attempts are consistently blocked. Reproduced consistently; ruled out antivirus, VPN, firewall, and all user-configurable macOS permissions before isolating the root cause: a missing entitlement in the app's hardened-runtime code signature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When asked to read Calendar or Reminders, the agent shells out to osascript. Every attempt fails with "privilege violation / Connection invalid" to &lt;FONT face="courier new,courier"&gt;com.apple.hiservices-xpcservice&lt;/FONT&gt;. The unified log shows &lt;FONT face="courier new,courier" color="#FF0000"&gt;tccd&lt;/FONT&gt; rejecting the request because the app's hardened runtime lacks the required entitlement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prompting policy for hardened runtime; service: &lt;FONT face="courier new,courier" color="#FF0000"&gt;kTCCServiceAppleEvents&lt;/FONT&gt; requires entitlement com.apple.security.automation.apple-events but it is missing for :&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;accessing={TCCDProcess: identifier=com.spotify.studio, ...}, requesting={TCCDProcess: identifier=com.apple.osascript, ...}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Under macOS's hardened runtime, an app must have com.apple.security.automation.apple-events compiled into its code signature to send AppleScript commands to other apps at all.&lt;BR /&gt;&lt;BR /&gt;Without it, tccd refuses the request before any prompt or permission check occurs. That produces the "privilege violation / Connection invalid" error the agent sees, and it explains why the block sits upstream of everything user-configurable: the gate is not a setting but a missing declaration sealed into the app's signature at build time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Denial timestamps in the tccd log correspond one-to-one with the agent's failed Calendar and Reminders attempts. Both features were independently reproduced and fail identically through the same kTCCServiceAppleEvents gate.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMPACT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Calendar-driven Personal Podcasts cannot access local Apple Calendar or Reminders. User-side Automation permissions are granted and visible in System Settings &amp;gt; Privacy &amp;amp; Security &amp;gt; Automation (Calendar.app and Reminders.app both toggled on for Studio), but they are unreachable because the entitlement gate precedes the TCC check. No user configuration can resolve this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUGGESTED FIX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Either ship the binary with the com.apple.security.automation.apple-events entitlement, or route calendar access through EventKit or a native connector instead of agent-generated osascript.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RELATED ADDITIONAL FINDINGS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. The same pattern fires for kTCCServiceMicrophone and kTCCServiceCamera. The binary also lacks com.apple.security.device.audio-input and com.apple.security.device.camera. Microphone and camera access appears similarly affected on these code paths.&lt;/P&gt;&lt;P&gt;2. Studio-driven Google Chrome sessions (Studio's browsing feature; Chrome running with Studio as the TCC responsible process) hit the same missing audio-input and camera entitlements. Same root cause, additional affected surfaces.&lt;/P&gt;&lt;P&gt;3. Note: I had not requested any camera or microphone functionality when these checks fired. Worth confirming these probes are intentional (for example, capability enumeration at startup) rather than unintended.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-07-22 at 17.27.15.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/210043i8E80DDD60DAF8B03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-07-22 at 17.27.15.png" alt="Screenshot 2026-07-22 at 17.27.15.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-07-22 at 17.27.54.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/210044iEF6E33B6D4B9F418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-07-22 at 17.27.54.png" alt="Screenshot 2026-07-22 at 17.27.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1. Terminal output (codesign -d --entitlements -) demonstrating the missing entitlements in the app's code signature&lt;BR /&gt;2. Unified log capture (log show, process tccd) of the failed Calendar and Reminders access attempts, showing the osascript attribution chain (requesting=com.apple.osascript, responsible=com.spotify.studio)&lt;BR /&gt;3. Deduplicated failure counts per entitlement (sort | uniq -c), filtered to com.spotify.studio&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 21:28:54 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Mac/Studio-agent-generates-AppleScript-calendar-workflows-the-app/m-p/7508458#M556010</guid>
      <dc:creator>JaredG99</dc:creator>
      <dc:date>2026-07-22T21:28:54Z</dc:date>
    </item>
  </channel>
</rss>

