Skip to content

Let the hardened runtime allow Location Services - #42

Open
edward-mcnair wants to merge 1 commit into
kemalandic:mainfrom
edward-mcnair:fix-location-entitlement
Open

edward-mcnair wants to merge 1 commit into
kemalandic:mainfrom
edward-mcnair:fix-location-entitlement

Conversation

@edward-mcnair

Copy link
Copy Markdown

What does this PR do?

ENABLE_HARDENED_RUNTIME is on, and the hardened runtime refuses CoreLocation to an app without com.apple.security.personal-information.location. The Weather widget's location request therefore failed in signed builds, and the forecast silently used its London fallback. Info.plist already carries the usage descriptions; this adds the entitlement they need.

Found in a fork whose Weather tile said it was showing London. Adding the entitlement there brought back the location prompt and local weather.

Screenshots

No UI change.

Checklist

  • Tested on macOS 14+ (macOS 27)
  • No third-party dependencies added
  • Follows existing code style

🤖 Generated with Claude Code

ENABLE_HARDENED_RUNTIME is on, and the hardened runtime refuses CoreLocation
to an app without com.apple.security.personal-information.location. The
Weather widget's location request therefore failed in signed builds and the
forecast silently used its London fallback. Info.plist already carries the
usage descriptions; this adds the entitlement they need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant