我已经设置了我的 github 帐户,我准备好了。我正在尝试按照这些说明为使用 Soundcloud 的 iPhone 项目设置 API 包装器,但我有点迷茫:
1. Go to your project directory.
2. Add the Cocoa API Wrapper as a Git Subproject
git submodule add git://github.com/soundcloud/cocoa-api-wrapper.git SoundCloudAPI
3. Update the Subprojects (the API Wrapper includes the NXOAuth2Framework as a subproject)
git submodule update --init --recursive
我的问题是:我在我的项目目录中去哪里?与XCode工程文件同级?此外,#2 中的命令对我来说并不适用。我得到错误:
fatal: Not a git repository (or any of the parent directories): .git
我错过了什么吗?