-
Connect your iPhone and Apple Watch to your Mac
# Make sure both devices are connected and trusted -
Open the project in Xcode
open scroll.xcodeproj
-
Configure signing (one-time setup):
- Select
scrollproject in the navigator - Go to Signing & Capabilities tab
- For scroll target: Select your Team (Apple ID)
- For scroll-watch Watch App target: Select your Team (Apple ID)
- Xcode will automatically handle provisioning profiles
- Select
-
Build and install to iPhone:
- Select scroll scheme at the top
- Choose your iPhone as the destination
- Click Run (
▶️ ) or press Cmd+R - iPhone app will install and launch
-
Install Watch app:
- Select scroll-watch Watch App scheme
- Choose your Apple Watch as the destination
- Click Run (
▶️ ) or press Cmd+R - Watch app will install
-
Create Archive:
# In Terminal, from the scroll project directory: ./build_for_device.sh -
Install via Finder:
- Connect iPhone to Mac
- Open Finder, select your iPhone
- Drag the generated
.ipafile to your iPhone - Watch app installs automatically
Your app is now configured with:
- 📱 iPhone: All required sizes (20pt-1024pt)
- ⌚ Watch: All required sizes (24mm-1024pt)
- 🎨 Icon: Custom circular design with gradient
- 📡 Real-time scrolling: Watch crown → Mac browser
- ⚡ Optimized performance: Throttled messages (50ms/30ms)
- 🔄 Slower scroll steps: More precise control
- 📳 Haptic feedback: Crown rotation + scroll commands
- 🌐 Python server: Direct Mac scrolling via PyAutoGUI
cd /Users/bytedance/code/void/WatchScroller/python-server
./run_server.sh- Open WatchScroller on iPhone
- App will show connection status
- Counter shows scroll commands received
- Open WatchScroller on Watch
- Tap 测试连接 to test connectivity
- Rotate Digital Crown to scroll Mac browser
Watch Crown Rotation → iPhone Bridge → Python Server → Mac Browser Scrolling
(with haptics) (throttled) (slower steps) (real-time)
- Make sure you have an Apple ID signed into Xcode
- Go to Xcode > Preferences > Accounts to add your Apple ID
- Free Apple IDs work for personal device installation
- Trust the computer on iPhone/Watch
- Make sure devices are unlocked during installation
- Install iPhone app first
- Watch app installs automatically as a companion
- Check Apple Watch app on iPhone for manual installation
After running ./build_for_device.sh, you'll find:
build/WatchScroller.xcarchive- Archive filebuild/WatchScroller.ipa- Installable app package- App icons in both iOS and watchOS formats
Your WatchScroller app with custom icon is ready for installation!
The app provides seamless Watch-to-Mac browser scrolling with optimized performance and haptic feedback. 🚀