Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot paste text on mac into ios simulator Xcode 12?

I am using Xcode 12.5, and I am trying to paste some text from a file into my ios Simulator (iPhone 11 ios 14.5). This does not work. Any thoughts or ideas on how to fix this?

I have looked at a number of other posts but they all seem outdated and don't work for me.

Also I am using an Apple M1 Mac mini ...if that makes a difference. I am also building my application with Xamarin.

The steps I took:

  • I turn of Automatically Sync Pasteboard
  • Copy the text (which is just letters from a .txt file)
  • Click send pasteboard from the edit menu.
  • Click on my Editor control and select paste

The outcome is that it shows the bubble at the top saying myappName pasted from CoreSimulatorBridge. However, it doesn't actually paste the text.

like image 720
Kikanye Avatar asked Jun 15 '21 20:06

Kikanye


People also ask

How do I enable simulator in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.

Can we send push notification to iOS simulator?

Yes, that's true. I always wondered if I can send a Push Notification on iOS simulator instead getting a real device while developing applications. Simulator supports simulating remote push notifications, including background content fetch notifications.


Video Answer


1 Answers

I answered this elsewhere, but it took so long to find I am repasting a couple places I looked first. Essentially, with Apple M1 Silicon, iOS 14+ pasting doesn't work. Switching to a simulator running 13.7 or earlier fixed it.

like image 155
ajl Avatar answered Nov 13 '22 02:11

ajl