WellNuo/clear-apple-cache.sh
Sergei ec63a2c1e2 Add admin panel, optimized API, OTP auth, migrations
Admin Panel (Next.js):
- Dashboard with stats
- Users list with relationships (watches/watched_by)
- User detail pages
- Deployments list and detail pages
- Devices, Orders, Subscriptions pages
- OTP-based admin authentication

Backend Optimizations:
- Fixed N+1 query problem in admin APIs
- Added pagination support
- Added .range() and count support to Supabase wrapper
- Optimized batch queries with lookup maps

Database:
- Added migrations for schema evolution
- New tables: push_tokens, notification_settings
- Updated access model

iOS Build Scripts:
- build-ios.sh, clear-apple-cache.sh
- EAS configuration updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-20 11:05:39 -08:00

19 lines
575 B
Bash
Executable File

#!/bin/bash
# Clear Apple credentials cache to force re-authentication
# This allows selecting a different Provider/Team
echo "Clearing Apple authentication cache..."
# Remove the entire .app-store directory (contains Apple session cookies)
rm -rf ~/.app-store
echo "Cache cleared!"
echo ""
echo "Now run 'eas credentials' or 'eas build' and you should be able to"
echo "select a different Provider when prompted during Apple login."
echo ""
echo "When prompted to select a Provider, choose:"
echo " Provider: Robert's account (the one with Team ID UHLZD54ULZ)"
echo ""