Skip to content

iOS: define autoRotateAllowed and open DeviceHub on Xcode 27 - #5

Open
murerkinn wants to merge 1 commit into
mainfrom
ios-xcode27-fixes
Open

murerkinn wants to merge 1 commit into
mainfrom
ios-xcode27-fixes

Conversation

@murerkinn

Copy link
Copy Markdown
Collaborator

autoRotateAllowed is declared weak, but an undefined weak function still fails to link on Apple platforms, so apps that read the orientation (tilt-breakout) did not link. iOS rotates through UIKit, so it answers false, as macOS does.

Xcode 27 replaced Simulator.app with DeviceHub.app (com.apple.dt.Devices). Opening the simulator window is only a convenience, so fall back to DeviceHub and then to a warning instead of failing the run.

autoRotateAllowed is declared weak, but an undefined weak function still
fails to link on Apple platforms, so apps that read the orientation
(tilt-breakout) did not link. iOS rotates through UIKit, so it answers
false, as macOS does.

Xcode 27 replaced Simulator.app with DeviceHub.app (com.apple.dt.Devices).
Opening the simulator window is only a convenience, so fall back to
DeviceHub and then to a warning instead of failing the run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed8293eb-1201-4af2-823c-d361b68f875c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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