iPhone and iPad
A native app for iPhone (iOS 18 or later), with Control Center buttons that also work from the Action button and Back Tap, a share sheet entry, and Shortcuts actions. It uses no third-party libraries (its Argon2id, for the Cloud's password, is its own, in C).
Clips are encrypted on the iPhone before they're sent, and decrypted on it when they're received, like on every other device.
Install
The app isn't on the App Store. You build it onto your iPhone with Xcode, on a Mac. That's a one-time setup of about 15 minutes.
Which Apple account? A free Apple ID works, but iOS stops opening apps signed with a free account after 7 days: connect the iPhone and press Run in Xcode again to renew it. With a paid Apple Developer Program membership the app lasts a year.
-
Xcode. Install it from the Mac App Store and open it once. In Xcode › Settings › Accounts, add your Apple ID.
-
XcodeGen, which makes the Xcode project from
clients/apple/project.yml:brew install xcodegen(No Homebrew? Download
xcodegen.zipfrom its releases instead.) -
Your signing settings. In
clients/apple/Config, copySigning.xcconfig.exampletoSigning.xcconfigand fill in:CCOPY_TEAM_ID: your team ID. To print it:security find-certificate -c "Apple Development" -p | openssl x509 -noout -subject(theOU=value). No certificate yet? In Xcode, open any project's Signing & Capabilities and pick your team once; Xcode makes one.- Building your own copy outside the project's Apple team? Also set
CCOPY_BUNDLE_IDto something of your own, likecom.yourname.crosscopypaste: bundle IDs are unique across all of Apple, andcom.crosscopypasteis the project's.
Signing.xcconfigisn't committed. -
Make the project and open it:
cd clients/apple xcodegen open CrossCopyPaste.xcodeproj -
On the iPhone, turn on Settings › Privacy & Security › Developer Mode (it restarts). Connect it to the Mac with a cable and tap Trust.
-
In Xcode, choose your iPhone at the top, and press Run (⌘R).
-
With a free account, the first launch is refused until you trust yourself: Settings › General › VPN & Device Management, your Apple ID, Trust.
Cross Copy Paste Cloud
The app opens on a welcome: Create Account or Sign In.
- Create Account asks for your email, then the 6-digit code emailed to you (the keyboard offers it From Mail), then a password (at least 10 characters, with an uppercase letter, a lowercase letter and a number).
- Sign In with your email and password; Passwords and iCloud Keychain can fill them in. Forgot Password? opens crosscopypaste.com, where a reset by email makes a new key.
Your password never leaves the iPhone: it makes the key that opens your clips, right there. The iPhone keeps only its own token and that key, in its Keychain. On a full plan, signing in shows which devices fill it: remove one at crosscopypaste.com, or go Premium (a one-time payment, no subscription).
Home's Account section shows your plan and the clip size. Manage Account opens crosscopypaste.com for your password and devices; Sign Out removes the iPhone from your devices, which frees its place; Delete Account… deletes the account, after your password.
Or set up with your own server
On the welcome, choose Self-Hosting? Use Your Own Server.
- On your computer, open your server's web UI and choose Add device. Give the iPhone a name.
- Scan the QR code with the iPhone's Camera app and open the link. The page that opens has an Open Cross Copy Paste button.
- Check the name and server, and tap Connect.
No camera handy? Copy the setup code from the web UI's Add device window to the iPhone (Universal Clipboard works) and tap Paste Setup Code in the app.
The code carries the iPhone's own token and the key that encrypts your clips. They're kept in the iPhone's Keychain, readable only by the app and its extensions, and they don't go into backups or to other devices. Codes work once, for 10 minutes.
Using the server directly on your network (not through a Cloudflare Tunnel)? The iPhone has to trust the server's own certificate:
- In Safari, open
https://<server>:8443/ca.crt. Safari warns that the connection isn't private. That's expected, because the iPhone doesn't know the CA yet. Tap Show Details › visit this website, and allow the download. (Or AirDropca.crtfrom the server's data folder to the iPhone.) - Settings › General › VPN & Device Management, tap CrossCopyPaste Local CA, then More Details. Check that the SHA-256 fingerprint matches the one in the server log. Then Install.
- Settings › General › About › Certificate Trust Settings: turn on CrossCopyPaste Local CA.
The first time the app connects, also allow it to find devices on your local network.
Use
- In the app: Send sends what's on the clipboard; Receive puts the latest clip on it. The home screen shows the last clip, which device sent it, and whether the server can be reached.
- Control Center: open it, tap +, Add a Control, search for Cross Copy Paste, and add Receive Clip and Send Clipboard.
- Action button (iPhone 15 Pro and later): Settings › Action Button, swipe to Controls, choose Receive Clip. Or swipe to Shortcut and choose the shortcut below, to receive without opening the app.
- Back Tap: make the shortcut below. Then Settings › Accessibility › Touch › Back Tap › Triple Tap, and pick it.
- Share sheet: select text in any app, tap Share, then Cross Copy Paste. It sends what you selected, not your clipboard.
- Shortcuts: Receive Clip (also returns the text), Send Clipboard and Send Text, for your own shortcuts.
The app's Quick Access screen has the same steps.
Receive without leaving your app
The Control Center buttons open the app for a moment, because iOS only lets the app in front change the clipboard; the app then shows how it went. Shortcuts may do it in the background, so a shortcut receives right where you are. It's a one-time setup of about a minute:
- In Shortcuts, start a new shortcut and name it Receive Clip. Give it a symbol (⌄ › Choose Icon): with the app's icon, it looks blurry in Control Center.
- Add Receive Clip from Cross Copy Paste, and turn off Show When Run.
- Add If, and set it to Receive Clip has any value, so an empty result doesn't clear your clipboard.
- Inside it, add Copy to Clipboard. To keep clips off your other Apple devices, tap › and turn on Local Only.
- Choose it for the Action button (Shortcut), Back Tap, or Control Center (+ › Add a Control › Shortcut › Receive Clip).
Add Shortcut in Quick Access adds it in one tap, if your build has the
shortcut's iCloud link: set CCOPY_SHORTCUT_LINK in Config/Signing.xcconfig
(see the example file). A shared shortcut names the app by its bundle ID, so
the link only works with the ID it was made with.
Sending reads the clipboard, so iOS asks first each time. To stop it asking: Settings › Apps › Cross Copy Paste › Paste from Other Apps › Allow.
Keep clips on this iPhone (on by default) marks received clips as local only, so they don't sync to your other Apple devices through Universal Clipboard.
Rename the iPhone by tapping its name under This iPhone (or in the web UI). Remove it in the web UI. The app then says it was removed and offers Set Up Again.