I'm in the middle of setting up a framework I just created and then uploaded to a private repo on Bitbucket.
I've added the following to my Cartfile:
git "https://[email protected]/myUsername/myFramework.git"
However when I run carthage update --platform iOS, I get the following error:
A shell task (/usr/bin/env git clone --bare --quiet https://[email protected]/myUsername/myFramework.git /Users/jack/Library/Caches/org.carthage.CarthageKit/dependencies/myFramework) failed with exit code 128: fatal: could not read Password for 'https://[email protected]': terminal prompts disabled
How do you advise I get this working?
Login to Bitbucket. Click on your profile image in the top-right. Choose Personal settings. Under Access management section look for the App passwords option (https://bitbucket.org/account/settings/app-passwords/)
To create an app password: From your profile and settings avatar, select Personal settings. Select App passwords under Access management. Select Create app password. Give the app password a name related to the application that will use the password.
Switch to using ssh keys with the your account on Bitbucket. Then use the carthage line:
git "[email protected]:<acct>/<repo>.git"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With