This guide shows you how to use Personal Access Tokens to authenticate CUEBES repositories in Xcode.
Method 1: Clone Dialog (Recommended)
Step 1: Open Clone Dialog
In Xcode, go to Source Control > Clone... (or press Cmd + Shift + O and select "Clone").
Step 2: Enter Repository URL
Enter your CUEBES repository URL:
https://cuebes.com/username/repository-name.git
Step 3: Authenticate
When prompted for credentials:
- Username: Your CUEBES username
- Password: Your Personal Access Token
Step 4: Save to Keychain
Check "Remember in Keychain" to save your credentials for future use.
Method 2: Add Account in Preferences
Step 1: Open Xcode Preferences
Go to Xcode > Preferences (or press Cmd + ,).
Step 2: Go to Accounts
Click on the "Accounts" tab.
Step 3: Add Account
Click the "+" button and select "Other Server..."
Step 4: Enter Server Details
- Server: cuebes.com
- Account: Your CUEBES username
- Token: Your Personal Access Token
Pushing Changes
Once authenticated, you can push directly from Xcode:
- Make your code changes
- Go to Source Control > Commit...
- Enter a commit message and click "Commit"
- Go to Source Control > Push...
Troubleshooting
Authentication Failed
If authentication fails:
- Verify you're using your Personal Access Token, not your account password
- Check that the token has "Write" permission if you're trying to push
- Make sure the token hasn't expired
Clear Saved Credentials
To remove saved credentials and re-enter:
- Open Keychain Access (in Applications > Utilities)
- Search for "cuebes.com"
- Delete the saved credential
- Try cloning again to re-enter credentials
Token Permissions
- Can clone but can't push? Your token needs "Write" permission
- Can't access at all? Make sure you have access to the repository