【问题标题】:Copy/Paste not working in XCode 13 Simulators with M1 Macbook Pro复制/粘贴在带有 M1 Macbook Pro 的 XCode 13 模拟器中不起作用
【发布时间】:2022-07-26 13:25:50
【问题描述】:

使用 M1 Macbook Pro 模拟器无法在 Xcode 13 上复制/粘贴。它在普通的 Mac PC 上运行。

【问题讨论】:

  • 如何复制/粘贴?代码,键盘?...
  • @PtitXav 使用 cmd + c 从浏览器、便笺、TextEdit 等任何地方复制并使用 cmd + v 粘贴

标签: ios xcode ios-simulator ios15 xcode13


【解决方案1】:

由于我在 2020 年获得了 M1,因此我只能在 Xcode 11.x 或更低版本中使用复制/粘贴功能。 我没有找到可以在 Xcode 13 上再次启用复制/粘贴的模拟器或其他复选框的任何设置

【讨论】:

    【解决方案2】:

    只需使用 iOS 低于 14 的模拟器。 我个人更喜欢 iPhone 11 (13.7)

    【讨论】:

      【解决方案3】:

      这是 M1 MacBook 的问题,Pasteboard 在最新的芯片和最新的模拟器中存在这个问题。

      截至目前,苹果没有对此进行更新。所以我们可以尝试替代的东西

      •   Save what you want to paste into a textedit file 
      •   Drag and drop the .txt file into the simulator window
      •   The simulator will prompt you to Save the file in the Files App
      •   From the Simulator Open the file and copy the text you want
      •   Paste into your App
      

      【讨论】:

        猜你喜欢
        • 2021-04-11
        • 2019-01-14
        • 2022-11-11
        • 2021-10-25
        • 1970-01-01
        • 2021-12-27
        • 1970-01-01
        • 2023-03-26
        • 2022-08-17
        相关资源
        最近更新 更多