Consider creating a rule that turns off Xcode Ads for Xcode Cloud #206

Closed
opened 2026-01-19 18:29:38 +00:00 by michael · 1 comment
Owner

Originally created by @emkinter on GitHub.

Problem to solve

When starting Xcode, an Xcode Ads can be displayed. This may tempt users to subscribe to a non-sanctioned web offering.

Intended users

Organizations that control web service access.

Further details

A user starts Xcode, sees an Xcode Cloud Ad, clicks on it, and starts using an unsanctioned web service.

Proposal

Check:
/usr/bin/defaults read com.apple.dt.Xcode XcodeCloudUpsellPromptEnabled

Fix:
/usr/bin/defaults write com.apple.dt.Xcode XcodeCloudUpsellPromptEnabled -bool false

Testing

What does success look like, and how can we measure that?

When XcodeCloudUpsellPromptEnabled is set to false in com.apple.dt.Xcode no Xcode Ads are displayed when XCode starts.

Links/references

Xcode Cloud
Xcode Ads
Accidental Tech Podcast - 511: Moving to Antartica

Originally created by @emkinter on GitHub. ### Problem to solve When starting Xcode, an [Xcode Ads](https://twitter.com/iKenndac/status/1587867958348599308) can be displayed. This may tempt users to subscribe to a non-sanctioned web offering. ### Intended users Organizations that control web service access. ### Further details A user starts Xcode, sees an [Xcode Cloud Ad](https://twitter.com/iKenndac/status/1587867958348599308), clicks on it, and starts using an unsanctioned web service. ### Proposal Check: /usr/bin/defaults read com.apple.dt.Xcode XcodeCloudUpsellPromptEnabled Fix: /usr/bin/defaults write com.apple.dt.Xcode XcodeCloudUpsellPromptEnabled -bool false ### Testing <!-- What risks does this change pose? How might it affect the quality of the product? What additional test coverage or changes to tests will be needed? --> ### What does success look like, and how can we measure that? When XcodeCloudUpsellPromptEnabled is set to false in com.apple.dt.Xcode no [Xcode Ads](https://twitter.com/iKenndac/status/1587867958348599308) are displayed when XCode starts. ### Links/references [Xcode Cloud](https://developer.apple.com/xcode-cloud/) [Xcode Ads](https://twitter.com/iKenndac/status/1587867958348599308) [Accidental Tech Podcast - 511: Moving to Antartica](https://atp.fm/511)
Author
Owner

@robertgendler commented on GitHub:

This was decided to not be added as it is not directly in the OS.

@robertgendler commented on GitHub: This was decided to not be added as it is not directly in the OS.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#206