0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Xcode 26.4 の iOS Simulator でペーストが効かない問題と回避策

0
Posted at

Edit.png

症状

  • Automatically Sync Pasteboard が ON になっている
  • URLバーなどテキストフィールドにはフォーカスできている
  • なのに Cmd+V も Edit → Paste も一切効かない

原因

Xcode 26.4 の既知バグです。
Automatically Sync Pasteboard が ON でも macOS と Simulator のクリップボード同期が壊れる不具合で、
Apple Developer Forums にも同様の報告が複数上がっています。


killall pboard・Simulator リセット・デバイス消去などは このバグ
には効きません

今回のバグには効きませんでしたが、試してみた策は以下です。

試した策

1. ペーストボードデーモンを再起動する

killall pboard
killall Simulator

Simulator を再起動後に試す。
pboard(macOS のペーストボード管理デーモン)が固まっていると Simulator だけ貼り付けができなくなる。

2. Simulator の同期設定をリセットする

defaults delete com.apple.iphonesimulator PasteboardAutomaticSync

Simulator を再起動後に試す。

3. Device > Open URL... を使う(最も確実な応急処置)

Simulator のメニューバーから:

Device > Open URL...

にURLを直接入力できる。テキストフィールドへのペーストが必要な場面はこれで代替できる。

4. xcrun simctl でURLを開く

xcrun simctl openurl booted "https://docs.google.com/spreadsheets/d/xxxxx"

ターミナルから直接 Simulator の Safari でURLを開ける。

5. 別のシミュレータデバイスに切り替える

File > Open Simulator > 別の機種を選択

runtime や device に固有の破損が原因の場合はこれで直ることがある。

6. デバイスを完全リセットする

Device > Erase All Content and Settings

根本的な解決

Xcode 26.3 にダウングレードするか、次の Xcode アップデートを待つのが現実的です。
killall pboard やデバイスリセットでも直らないケースが多く報告されています。

参考:https://samwize.com/2026/03/30/xcode-simulator-paste-broken-workaround/


まとめ

対処 効果
killall pboard 一時的に直ることあり
defaults delete でリセット 設定起因の場合に有効
Device > Open URL... 最も確実な応急処置
xcrun simctl openurl ターミナルから直接開ける
Xcode ダウングレード 根本解決

実機では問題なく動作するため、Simulator でのペーストテストは割り切って実機で行うのも選択肢のひとつです。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?