Clone a private flutter project repository from Github to Xcode in MacOS

Viewed 1200

I have a flutter application written in Android Studio in Windows and I am able to run and test it on an Android phone. The project has git as source control and all the changes are committed to a private repository on Github. How do I clone this private repository from Github to Xcode on Mac to test in on a physical iOS device?

Thanks

1 Answers

If I understood your question correctly, you can just open the terminal on your Mac, navigate to the folder where you'd like to put this project, then enter

git clone https://..... (your link that you copy from Github)

it will clone the repo into that folder. Usually it works fine (at least for me with my own private repos), if it asks for password, you can input it in the url like this:

git clone https://githubuser:githubpassword@github.com/githubuser/project.git

And then just open the iOS part of the project in Xcode. As a side note, Android Studio works just fine on Mac too, so you can do everything there :)

Related