neon443/AirAP
关于
向 iOS 设备进行 AirPlay 投屏
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AirAP is a fully native AirPlay server, written in Swift, for iOS. Essentially, AirAP allows you to use your iPhone as an AirPlay receiver in iTunes or on your Mac, meaning that you can use your iPhone to play your device's sound.
What's AirAP?
Have you ever wanted to stream audio from your Mac, Apple TV, or another iOS device to your iPhone? AirAP makes this possible by implementing a full AirPlay server that runs natively on iOS. Once installed, your iPhone will appear as an available AirPlay destination in System Preferences' Audio pane, Music.app, or any other AirPlay-compatible app.
The concept might seem backwards at first - after all, we're used to streaming from our iPhones to other devices. But there are surprisingly many scenarios where you'd want to do the reverse. Maybe you're working on your Mac late at night and want to route the audio to your iPhone with headphones so you don't disturb anyone (hi 👋). Perhaps you're a developer testing audio applications and need to quickly switch between different output devices. Or maybe you just want to repurpose that old wired speaker.
Installing AirAP
To try it out, open this TestFlight link, install AirAP, and follow the instructions. After installation, simply launch AirAP and ensure your iPhone is connected to the same Wi-Fi network as the device you want to stream from. Your iPhone will automatically appear in AirPlay device lists, ready to receive audio - if it doesn't, try restarting the app.
Compiling
Make sure you have homebrew and the Xcode commandline tools
brew install carthage
git clone https://github.com/neon443/AirAP
cd AirAP
carthage checkout
open AirAP.xcodeproj
After adding your Team ID in Project > AirAP > Signing and Capabilities, hit Command + R to build and run!
iOS 9-12 fixes
Set the iOS Deployment Target (IPHONEOS_DEPLOYMENT_TARGET) build setting to 5 on Airstream and shairplay:
- Open AirAP.xcodeproj
- Select the Airstream project in the sidebar, then the Airstream target
- Click build settings and make sure visibility is set to all, and search for "ios"
- Click the value, select "Other..." and type 5 and hit enter
- Repeat for shairplay.xcodeproj, setting its deployment target to 5
thanks to
qasim/Airstream shairplay would not have been possible without these
© 2025 Nihaal Sharma. AirPlay, iPhone, iTunes, Mac, and Apple TV are trademarks of Apple Inc.
探索相关项目
加载中…