question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paste from clipboard doesn't work in iOS simulator run on MacBook with M1 chip

See original GitHub issue

Summary

Pasting from clipboard doesn’t work in an app run in Expo Go. It’s not an issue with the simulator because I can copy and paste text in other apps in the simulator e.g. Safari. I can also copy and paste things from outside the simulator to Safari in the simulator. It’s possible to select a text in my app, copy it, and past it to another app in the simulator or to my VS Code outside. The problem occurs only in simulators with iOS > 13.7, so the workaround is to install an older version.

I’m using MacBook Pro M1

Similar unsolved issues: https://github.com/expo/expo/issues/13661 https://github.com/flutter/flutter/issues/74970

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

44

Environment

expo-env-info 1.0.2 environment info: System: OS: macOS 12.1 Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild npmGlobalPackages: eas-cli: 0.48.1 expo-cli: 5.2.0 Expo Workflow: managed

Reproducible demo

https://user-images.githubusercontent.com/100682087/159446278-c4f74804-e293-42ad-98b2-f558544791ff.mov

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:17
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
scarlaccommented, Aug 5, 2022

This is an Xcode/iOS simulator issue from what I’ve gathered. I am googling this issue and have noticed that it worked in the past. It doesn’t seem to be Expo-specific but users are complaining about this in Apple forums as well, and to this day it’s still an outstanding issue. I don’t know if it’s fixed in the latest Xcode 14 beta though. Users in the forums are saying it generally works in iOS 13 simulators but 14+ doesn’t. Some say pasting twice helps (which I’ve had to do as well) but that stopped working in recent versions.

0reactions
ichiwacommented, Dec 13, 2022

same issue here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

M1 Xcode 12.5 can't paste clipboard | Apple Developer Forums
I can't paste anything into my simulator since switching to an M1 MacMini. I've tried ticking and unticking "automatically sync clipboard".
Read more >
ios - Copy/Paste not working in XCode 13 Simulators with M1 ...
Open your iOS Simulator · Select the text input in the simulator where you want your text to be pasted · Select the...
Read more >
"Copy to clipboard" not working if Xcode Simulator is running
I'm using Enpass 6.7.4 (938) on a M1 MacBook Pro (16-inch, 2021, MacOS 12.1), and I find myself unable to copy any stored...
Read more >
Copy/Paste not working in XCode 13 Simulators with M1 ...
It was working on a normal Mac PC. This is the issue with M1 MacBooks, Pasteboard is having this issue in latest chip...
Read more >
Unable to copy and paste on iOS simulator and enable dark ...
Yeah, don't do that. To paste into the Simulator, hold the mouse down over a text field and wait for the menu to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found