SShortSingh.
Back to feed

Developer hits four dead ends trying to build Apple Shortcuts programmatically

0
·3 views

A developer attempted to automate publishing to a REST API using Apple Shortcuts, building a three-step shortcut that lets Siri dictate and POST content directly to an endpoint. While the shortcut worked fine when built manually on-device, every attempt to create, sign, or deploy it through code failed. The macOS 'shortcuts sign' CLI rejected hand-written property lists and, on macOS 14.6, returned an iCloud authentication error even on valid files with iCloud fully enabled. The URL import scheme only accepted links hosted on Apple's own icloud.com domain, blocking any self-hosted or third-party file imports. The only partial workaround discovered was reverse-engineering an undocumented iCloud API endpoint that returns unsigned, readable shortcut plists from shared links.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why AI Hiring Has Shifted From Generalists to Deep Technical Specialists

The pathway into elite AI labs and enterprise teams is increasingly demanding deep specialization rather than broad generalist knowledge, according to insights shared by a former OpenAI intern via Business Insider. Following the initial ChatGPT-driven boom, the industry was flooded with generalists capable of basic API orchestration and high-level scripting, but those entry points have largely been exhausted. As frontier models approach scaling limits, engineering challenges have shifted toward complex, low-level bottlenecks in areas such as inference optimization, synthetic data pipeline architecture, and fault-tolerant agentic workflows. Enterprises are also driven by financial pressures, as the total cost of ownership for AI systems is dominated by ongoing compute and engineering costs rather than model acquisition, making optimization specialists highly valuable. Organizations that rely on generalists tend to use oversized models and unoptimized pipelines, driving up operational costs in ways that specialized engineers are specifically hired to reduce.

0
ProgrammingDEV Community ·

How to Build a Branch-Based CI/CD Pipeline with SonarQube and GitHub Actions

A reusable CI/CD pattern has been documented for automatically deploying code to different environments based on branch names using GitHub Actions. The setup integrates a SonarQube quality gate that must pass before any deployment proceeds, mapping develop, staging, and main branches to their respective environments. A key technical insight addresses why the common workflow_run trigger silently fails — it only reads trigger definitions from the repository's default branch, making it unreliable for multi-branch setups. The guide recommends using GitHub's reusable workflow_call primitive instead, which resolves the workflow file from the caller's own branch reference. Production deployments additionally require manual human approval, configured through GitHub's Environments feature under repository settings.

0
ProgrammingDEV Community ·

var, let, and const in JavaScript: Key Differences Every Developer Should Know

JavaScript offers three variable declaration keywords — var, let, and const — each with distinct scoping and hoisting behaviors introduced or clarified in ES6. The var keyword is function-scoped and allows redeclaration, meaning the same variable name can be declared multiple times without error. In contrast, let is block-scoped and prevents redeclaration, reducing bugs caused by accidental variable overwrites. A key behavioral difference involves hoisting: var declarations are hoisted and initialized as undefined, while let and const are placed in a Temporal Dead Zone, throwing a ReferenceError if accessed before their declaration. These distinctions make let and const safer and more predictable choices for modern JavaScript development.

0
ProgrammingDEV Community ·

GitHub Launches Human-in-the-Loop Controls for AI Agent Automation in Issues

GitHub announced agent automation controls for GitHub Issues on July 23, 2026, currently available in public preview. The feature allows AI agents to attach confidence levels — high, medium, or low — to proposed issue actions such as labeling, triaging, or closing. Repository administrators can set a minimum confidence threshold, below which agent suggestions require human approval before being applied. Each suggested action also includes a rationale, helping reviewers understand why the agent proposed a change and make faster, informed decisions. The controls aim to bridge the gap between slow manual triage and risky fully autonomous automation by keeping humans involved where judgment matters most.