# Eric Haley Studio for iOS

Native SwiftUI/WKWebView shell for the member-only Eric Haley Music community.

The app opens `https://www.erichaleymusic.com/community/login?native=ios`, lets existing Supabase users sign in, and then stays inside `/community/`. Marketing pages such as `/` and `/apply` are blocked from the in-app web view and open externally if reached from a file/link.

## Install on your iPhone

1. Open `EricHaleyCommunity.xcodeproj` in Xcode.
2. Select the `EricHaleyCommunity` target, then set **Signing & Capabilities → Team** to your Apple ID or Apple Developer team.
3. If Xcode asks for a unique bundle identifier, change `com.erichaleymusic.studio` to one under your account, such as `com.yourname.erichaleystudio`.
4. Connect your iPhone with Developer Mode enabled.
5. Choose your iPhone as the run destination and press **Run**.

The installed app's first screen is the login screen. After sign-in, the app loads only the authenticated `/community/` portal.

iOS still requires a signed build, even with Developer Mode. For your own phone, Xcode's automatic signing with a personal Apple ID is enough for local installation. For other users, distribute through TestFlight, App Store, Apple Business Manager, or another Apple-approved signed distribution path.
