4.9 KiB
4.9 KiB
iOS Sideloading Guide for Bagsy
Overview
You have 3 methods to distribute your app to family without paying for a developer account:
- TestFlight (Easiest) - Free, no Mac needed, automatic updates
- Ad-hoc Distribution - Slightly complex, no automatic updates
- Building with Xcode - Requires Mac, full control
Method 1: TestFlight (RECOMMENDED) ⭐
Pros
- ✅ Up to 100 external testers
- ✅ Automatic app updates
- ✅ Easy invite via link or email
- ✅ Free (just need Apple ID)
- ✅ No development account required
- ✅ Works on any iOS device
Cons
- ❌ Requires Apple ID (not paid account)
- ❌ 30-day expiration per build (easy to refresh)
Steps
-
Create Free Apple ID (if you don't have one)
- Visit appleid.apple.com
- Create account with your email
- Done!
-
Build IPA File
cd apps/mobile bun run build:ios- Generates
.ipafile
- Generates
-
Get to App Store Connect
- Go to appstoreconnect.apple.com
- Sign in with Apple ID
- Click "My Apps"
- Click "+" → "New App"
- Fill in:
- Platform: iOS
- Name: Bagsy
- Primary Language: English
- Bundle ID:
com.shoplist.app(you choose this) - SKU:
shoplist-001
- Click "Create"
-
Upload Build to TestFlight
- In your app page, click "TestFlight"
- Click "iOS Builds"
- Click "+" to add a build
- Select your
.ipafile or use Xcode to upload - Wait ~5-10 minutes for Apple to process
-
Invite Testers
- In TestFlight tab, click "Create a Group" or use default
- Click "+ Add Testers"
- Enter family members' email addresses
- Send invites
- They'll get an email with link to install
-
Family Members Install
- Click link from invite email
- Opens App Store → Shows "Open" button (not download)
- Click "Open" → redirects to TestFlight app
- Tap "Install"
- Done!
Update App (When You Change Code)
# Make changes
bun run build:ios
# Upload new IPA to TestFlight
# Testers get automatic notification to update
Method 2: Ad-hoc Distribution (Manual but Works)
Pros
- ✅ No TestFlight, direct installation
- ✅ Full control over who gets it
- ✅ Works offline
Cons
- ❌ Manual device registration (UDID)
- ❌ Manual .ipa distribution
- ❌ No automatic updates
- ❌ Max 100 devices per year
- ❌ Requires provisioning profiles
Steps
-
Get Family Member UDIDs (Device IDs)
- On each iPhone: Settings → General → About
- Scroll to "UDID" or use Apple Configurator 2
- Send you the 40-character code
-
Register Devices
- Go to developer.apple.com
- Click "Account"
- Select "Devices"
- Add each UDID
- Wait ~10 minutes
-
Create Ad-hoc Provisioning Profile
- In Account, select "Provisioning Profiles"
- Click "+" → "Ad Hoc"
- Select your app Bundle ID
- Select registered devices
- Generate profile
- Download
.mobileprovisionfile
-
Build and Sign IPA
cd apps/mobile # Export with provisioning profile bun run build:ios --provisioning-profile=/path/to/profile -
Distribute IPA File
- Email the
.ipafile to family - They drag-drop into Finder (Mac) or iTunes (PC)
- Or use Diawi.com to generate install link
- Email the
Update Process
- Repeat build and send new
.ipafile
Method 3: Xcode Build & Run (Need Mac)
Pros
- ✅ Direct to device debugging
- ✅ Most control
Cons
- ❌ Requires Mac
- ❌ Manual for each device
- ❌ Only you or developers can do this
Steps (for your own development)
cd apps/mobile
bun run ios --device
# Connect iPhone via USB
# Xcode will build, sign, and install directly
My Recommendation for Your Family
Use TestFlight because:
- Easiest for family to install (just click a link)
- Automatic updates when you deploy new versions
- Free and doesn't require paid account
- No complicated UDID collection
- Built into iOS (TestFlight app)
Troubleshooting
"Build Expired" on TestFlight
- TestFlight builds expire after 30 days
- Just upload a new build (even if code unchanged)
- Free to re-upload
"Requires newer iOS version"
- Your app targets iOS 14+
- Family members need iOS 14 or later
- Check their Settings → General → Software Update
"Cannot Install - Not Trusted"
- For ad-hoc: Settings → General → VPN & Device Management
- Select profile → Tap "Trust"
Testers Don't Get Update Notification
- Builds must be incremented (version 1.0 → 1.1)
- Update CFBundleVersion in app.json
One-Time Setup Checklist
- Create Apple ID (free)
- Go to appstoreconnect.apple.com
- Create app in App Store Connect
- Build IPA:
bun run build:ios - Upload to TestFlight
- Invite family via email
- They install via TestFlight app
Then every update is just: build → upload → they get notified automatically! 🎉