Skip to content

Private Repository Causes Bitrise Auth issues #13

@3SC-Bitrise

Description

@3SC-Bitrise

The Bitrise Xcode Test step is failing with log

xcodebuild encountered an error (74): 
- Could not resolve package dependencies:
  Failed to clone repository https://github.com/3sidedcube/ArcUI.git:
    Cloning into bare repository '/Users/vagrant/Library/Developer/Xcode/DerivedData/.../ArcUI-ce55e926'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled

As documented by Bitrise, private repositories need to be accessed with

git@github.com:3sidedcube/ArcUI.git

instead of

https://github.com/3sidedcube/ArcUI.git

but when adding that as a swift package in Xcode, this yields the attached error.
Screenshot 2023-06-12 at 19 08 20

The temporary fix is to make this a public repo.
There's nothing sensitive so it is OK, but private would be preferred.

Other resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions